Class StateIngredientTagExcluding
java.lang.Object
at.petrak.hexcasting.common.recipe.ingredient.StateIngredientBlocks
at.petrak.hexcasting.common.recipe.ingredient.StateIngredientTag
at.petrak.hexcasting.common.recipe.ingredient.StateIngredientTagExcluding
- All Implemented Interfaces:
StateIngredient,Predicate<net.minecraft.world.level.block.state.BlockState>
-
Field Summary
Fields inherited from class at.petrak.hexcasting.common.recipe.ingredient.StateIngredientBlocks
blocks -
Constructor Summary
ConstructorsConstructorDescriptionStateIngredientTagExcluding(net.minecraft.resources.ResourceLocation id, Collection<StateIngredient> excludes) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected @NotNull List<net.minecraft.world.level.block.Block>List<net.minecraft.world.level.block.state.BlockState>List<net.minecraft.world.item.ItemStack>inthashCode()net.minecraft.world.level.block.state.BlockStatecom.google.gson.JsonObjectbooleantest(net.minecraft.world.level.block.state.BlockState state) Methods inherited from class at.petrak.hexcasting.common.recipe.ingredient.StateIngredientTag
getTagId, resolve, toStringMethods inherited from class at.petrak.hexcasting.common.recipe.ingredient.StateIngredientBlocks
writeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface at.petrak.hexcasting.common.recipe.ingredient.StateIngredient
descriptionTooltip
-
Constructor Details
-
StateIngredientTagExcluding
public StateIngredientTagExcluding(net.minecraft.resources.ResourceLocation id, Collection<StateIngredient> excludes)
-
-
Method Details
-
test
public boolean test(net.minecraft.world.level.block.state.BlockState state) - Specified by:
testin interfacePredicate<net.minecraft.world.level.block.state.BlockState>- Specified by:
testin interfaceStateIngredient- Overrides:
testin classStateIngredientTag
-
pick
- Specified by:
pickin interfaceStateIngredient- Overrides:
pickin classStateIngredientTag
-
equals
- Overrides:
equalsin classStateIngredientTag
-
hashCode
public int hashCode()- Overrides:
hashCodein classStateIngredientTag
-
serialize
public com.google.gson.JsonObject serialize()- Specified by:
serializein interfaceStateIngredient- Overrides:
serializein classStateIngredientTag
-
getDisplayedStacks
- Specified by:
getDisplayedStacksin interfaceStateIngredient- Overrides:
getDisplayedStacksin classStateIngredientTag
-
getBlocks
- Overrides:
getBlocksin classStateIngredientTag
-
getDisplayed
- Specified by:
getDisplayedin interfaceStateIngredient- Overrides:
getDisplayedin classStateIngredientTag
-