Class BlockIngredient.ImpossibleBlockIngredient
java.lang.Object
com.petrolpark.core.recipe.ingredient.BlockIngredient.ImpossibleBlockIngredient
- All Implemented Interfaces:
BlockIngredient<BlockIngredient.ImpossibleBlockIngredient>
- Enclosing interface:
BlockIngredient<T extends BlockIngredient<T>>
public static class BlockIngredient.ImpossibleBlockIngredient
extends Object
implements BlockIngredient<BlockIngredient.ImpossibleBlockIngredient>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classNested 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 interface com.petrolpark.core.recipe.ingredient.BlockIngredient
IMPOSSIBLE -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TYPE
-
-
Constructor Details
-
ImpossibleBlockIngredient
public ImpossibleBlockIngredient()
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceBlockIngredient<BlockIngredient.ImpossibleBlockIngredient>
-
isValid
public boolean isValid(net.minecraft.world.level.block.state.BlockState state) - Specified by:
isValidin interfaceBlockIngredient<BlockIngredient.ImpossibleBlockIngredient>
-
getDisplayedItemStacks
public net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getDisplayedItemStacks()- Specified by:
getDisplayedItemStacksin interfaceBlockIngredient<BlockIngredient.ImpossibleBlockIngredient>- Returns:
- An empty List if there is not a reasonably low number of possible Item Stacks
-
write
public void write(net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
writein interfaceBlockIngredient<BlockIngredient.ImpossibleBlockIngredient>
-