Class IngredientCraftTweaker<T extends IIngredient>
java.lang.Object
com.blamejared.crafttweaker.api.ingredient.vanilla.type.IngredientCraftTweaker<T>
- All Implemented Interfaces:
IngredientCraftTweakerBase,CraftTweakerVanillaIngredient,Predicate<net.minecraft.world.item.ItemStack>
public class IngredientCraftTweaker<T extends IIngredient>
extends Object
implements CraftTweakerVanillaIngredient, IngredientCraftTweakerBase
-
Method Summary
Modifier and TypeMethodDescriptionbooleanList<net.minecraft.world.item.ItemStack> inthashCode()static <T extends IIngredient>
net.minecraft.world.item.crafting.Ingredientingredient(T internal) booleanisEmpty()static <T extends IIngredient>
IngredientCraftTweaker<T> of(T crtIngredient) booleanbooleantest(@Nullable net.minecraft.world.item.ItemStack stack) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, 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
public static <T extends IIngredient> net.minecraft.world.item.crafting.Ingredient ingredient(T internal) -
test
public boolean test(@Nullable @Nullable net.minecraft.world.item.ItemStack stack) - Specified by:
testin interfaceCraftTweakerVanillaIngredient- Specified by:
testin interfaceIngredientCraftTweakerBase- Specified by:
testin interfacePredicate<T extends IIngredient>
-
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
-
equals
-
hashCode
public int hashCode()
-