Class BlockIngredient.IntersectionBlockIngredient
java.lang.Object
com.petrolpark.core.recipe.ingredient.BlockIngredient.SetBlockIngredient<BlockIngredient.IntersectionBlockIngredient>
com.petrolpark.core.recipe.ingredient.BlockIngredient.IntersectionBlockIngredient
- All Implemented Interfaces:
BlockIngredient<BlockIngredient.IntersectionBlockIngredient>
- Enclosing interface:
BlockIngredient<T extends BlockIngredient<T>>
public static class BlockIngredient.IntersectionBlockIngredient
extends BlockIngredient.SetBlockIngredient<BlockIngredient.IntersectionBlockIngredient>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classNested classes/interfaces inherited from class com.petrolpark.core.recipe.ingredient.BlockIngredient.SetBlockIngredient
BlockIngredient.SetBlockIngredient.SetBlockIngredientType<T extends BlockIngredient<T>>Nested classes/interfaces inherited from interface com.petrolpark.core.recipe.ingredient.BlockIngredient
BlockIngredient.BlockIngredientType<T extends BlockIngredient<T>>, BlockIngredient.BlockTagIngredient, BlockIngredient.ImpossibleBlockIngredient, BlockIngredient.IntersectionBlockIngredient, BlockIngredient.Registry, BlockIngredient.SetBlockIngredient<T extends BlockIngredient<T>>, BlockIngredient.UnionBlockIngredient -
Field Summary
FieldsFields inherited from class com.petrolpark.core.recipe.ingredient.BlockIngredient.SetBlockIngredient
valuesFields inherited from interface com.petrolpark.core.recipe.ingredient.BlockIngredient
IMPOSSIBLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.petrolpark.core.recipe.ingredient.BlockIngredient.SetBlockIngredient
write
-
Field Details
-
TYPE
-
-
Constructor Details
-
IntersectionBlockIngredient
-
-
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
-