Class IngredientIItemStack
java.lang.Object
com.blamejared.crafttweaker.api.ingredient.vanilla.type.IngredientIItemStack
- All Implemented Interfaces:
IngredientCraftTweakerBase,CraftTweakerVanillaIngredient,Predicate<net.minecraft.world.item.ItemStack>
public class IngredientIItemStack
extends Object
implements CraftTweakerVanillaIngredient, IngredientCraftTweakerBase
-
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.world.item.ItemStack> static net.minecraft.world.item.crafting.Ingredientingredient(IItemStack internal) booleanisEmpty()static IngredientIItemStackof(IItemStack crtIngredient) booleanbooleantest(@Nullable net.minecraft.world.item.ItemStack stack) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.blamejared.crafttweaker.api.ingredient.vanilla.type.CraftTweakerVanillaIngredient
singleton, valuesMethods inherited from interface com.blamejared.crafttweaker.api.ingredient.type.IngredientCraftTweakerBase
isSimple
-
Method Details
-
of
-
ingredient
-
test
public boolean test(@Nullable @Nullable net.minecraft.world.item.ItemStack stack) - Specified by:
testin interfaceCraftTweakerVanillaIngredient- Specified by:
testin interfaceIngredientCraftTweakerBase- Specified by:
testin interfacePredicate<net.minecraft.world.item.ItemStack>
-
getCrTIngredient
- Specified by:
getCrTIngredientin interfaceIngredientCraftTweakerBase
-
getMatchingStacks
- Specified by:
getMatchingStacksin interfaceCraftTweakerVanillaIngredient
-
requiresTesting
public boolean requiresTesting()- Specified by:
requiresTestingin interfaceCraftTweakerVanillaIngredient
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCraftTweakerVanillaIngredient
-
serializer
- Specified by:
serializerin interfaceCraftTweakerVanillaIngredient
-
toString
-