Interface StateIngredient
- All Superinterfaces:
Predicate<net.minecraft.world.level.block.state.BlockState>
- All Known Implementing Classes:
StateIngredientBlock,StateIngredientBlocks,StateIngredientBlockState,StateIngredientTag,StateIngredientTagExcluding
public interface StateIngredient
extends Predicate<net.minecraft.world.level.block.state.BlockState>
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<net.minecraft.network.chat.Component>A description tooltip to display in areas like JEI recipes.List<net.minecraft.world.level.block.state.BlockState>List<net.minecraft.world.item.ItemStack>net.minecraft.world.level.block.state.BlockStatecom.google.gson.JsonObjectbooleantest(net.minecraft.world.level.block.state.BlockState state) voidwrite(net.minecraft.network.FriendlyByteBuf buffer)
-
Method Details
-
test
boolean test(net.minecraft.world.level.block.state.BlockState state) -
pick
-
serialize
com.google.gson.JsonObject serialize() -
write
void write(net.minecraft.network.FriendlyByteBuf buffer) -
getDisplayedStacks
List<net.minecraft.world.item.ItemStack> getDisplayedStacks() -
descriptionTooltip
A description tooltip to display in areas like JEI recipes. -
getDisplayed
List<net.minecraft.world.level.block.state.BlockState> getDisplayed()
-