Class IngredientPartialTag
java.lang.Object
com.blamejared.crafttweaker.api.ingredient.vanilla.type.IngredientPartialTag
- All Implemented Interfaces:
CraftTweakerVanillaIngredient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanList<net.minecraft.world.item.ItemStack>net.minecraft.world.item.ItemStackgetStack()inthashCode()static net.minecraft.world.item.crafting.Ingredientingredient(net.minecraft.world.item.ItemStack children) booleanisEmpty()static IngredientPartialTagof(net.minecraft.world.item.ItemStack stack) booleanbooleantest(net.minecraft.world.item.ItemStack input) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.blamejared.crafttweaker.api.ingredient.vanilla.type.CraftTweakerVanillaIngredient
singleton, values
-
Constructor Details
-
IngredientPartialTag
public IngredientPartialTag(net.minecraft.world.item.ItemStack stack)
-
-
Method Details
-
of
-
ingredient
public static net.minecraft.world.item.crafting.Ingredient ingredient(net.minecraft.world.item.ItemStack children) -
test
public boolean test(@Nullable net.minecraft.world.item.ItemStack input) - Specified by:
testin interfaceCraftTweakerVanillaIngredient
-
getMatchingStacks
- Specified by:
getMatchingStacksin interfaceCraftTweakerVanillaIngredient
-
requiresTesting
public boolean requiresTesting()- Specified by:
requiresTestingin interfaceCraftTweakerVanillaIngredient
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCraftTweakerVanillaIngredient
-
getStack
public net.minecraft.world.item.ItemStack getStack() -
serializer
- Specified by:
serializerin interfaceCraftTweakerVanillaIngredient
-
equals
-
hashCode
public int hashCode() -
toString
-