Class StateIngredientBlockState
java.lang.Object
at.petrak.hexcasting.common.recipe.ingredient.StateIngredientBlockState
- All Implemented Interfaces:
StateIngredient,Predicate<net.minecraft.world.level.block.state.BlockState>
-
Constructor Summary
ConstructorsConstructorDescriptionStateIngredientBlockState(net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.network.chat.Component>A description tooltip to display in areas like JEI recipes.booleanList<net.minecraft.world.level.block.state.BlockState>List<net.minecraft.world.item.ItemStack>net.minecraft.world.level.block.state.BlockStategetState()inthashCode()net.minecraft.world.level.block.state.BlockStatecom.google.gson.JsonObjectbooleantest(net.minecraft.world.level.block.state.BlockState blockState) toString()voidwrite(net.minecraft.network.FriendlyByteBuf buffer)
-
Constructor Details
-
StateIngredientBlockState
public StateIngredientBlockState(net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
test
public boolean test(net.minecraft.world.level.block.state.BlockState blockState) - Specified by:
testin interfacePredicate<net.minecraft.world.level.block.state.BlockState>- Specified by:
testin interfaceStateIngredient
-
pick
- Specified by:
pickin interfaceStateIngredient
-
serialize
public com.google.gson.JsonObject serialize()- Specified by:
serializein interfaceStateIngredient
-
write
public void write(net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
writein interfaceStateIngredient
-
getDisplayedStacks
- Specified by:
getDisplayedStacksin interfaceStateIngredient
-
descriptionTooltip
Description copied from interface:StateIngredientA description tooltip to display in areas like JEI recipes.- Specified by:
descriptionTooltipin interfaceStateIngredient
-
getDisplayed
- Specified by:
getDisplayedin interfaceStateIngredient
-
getState
public net.minecraft.world.level.block.state.BlockState getState() -
equals
-
hashCode
public int hashCode() -
toString
-