Package com.petrolpark.recipe.ingredient
Class BlockIngredient.UnionBlockIngredient
java.lang.Object
com.petrolpark.recipe.ingredient.BlockIngredient.SetBlockIngredient<BlockIngredient.UnionBlockIngredient>
com.petrolpark.recipe.ingredient.BlockIngredient.UnionBlockIngredient
- All Implemented Interfaces:
BlockIngredient<BlockIngredient.UnionBlockIngredient>
- Enclosing interface:
- BlockIngredient<T extends BlockIngredient<T>>
public static class BlockIngredient.UnionBlockIngredient
extends BlockIngredient.SetBlockIngredient<BlockIngredient.UnionBlockIngredient>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classNested classes/interfaces inherited from class com.petrolpark.recipe.ingredient.BlockIngredient.SetBlockIngredient
BlockIngredient.SetBlockIngredient.SetBlockIngredientType<T extends BlockIngredient<T>>Nested classes/interfaces inherited from interface com.petrolpark.recipe.ingredient.BlockIngredient
BlockIngredient.BlockIngredientType<T extends BlockIngredient<T>>, BlockIngredient.BlockTagIngredient, BlockIngredient.ImpossibleBlockIngredient, BlockIngredient.IntersectionBlockIngredient, BlockIngredient.Registry, BlockIngredient.SetBlockIngredient<T extends BlockIngredient<T>>, BlockIngredient.SingleBlockIngredient, BlockIngredient.UnionBlockIngredient -
Field Summary
FieldsFields inherited from class com.petrolpark.recipe.ingredient.BlockIngredient.SetBlockIngredient
valuesFields inherited from interface com.petrolpark.recipe.ingredient.BlockIngredient
IMPOSSIBLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.petrolpark.recipe.ingredient.BlockIngredient.SetBlockIngredient
write
-
Field Details
-
TYPE
-
-
Constructor Details
-
UnionBlockIngredient
-
-
Method Details
-
getType
-
isValid
public boolean isValid(net.minecraft.world.level.block.state.BlockState state) -
getDisplayedItemStacks
public net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getDisplayedItemStacks()- Returns:
- An empty List if there is not a reasonably low number of possible Item Stacks
-