Class IngredientConditioned<I extends IIngredient,T extends IIngredientConditioned<I>>
java.lang.Object
com.blamejared.crafttweaker.api.ingredient.vanilla.type.IngredientCraftTweaker<T>
com.blamejared.crafttweaker.api.ingredient.vanilla.type.IngredientConditioned<I,T>
- All Implemented Interfaces:
IngredientCraftTweakerBase,CraftTweakerVanillaIngredient,Predicate<net.minecraft.world.item.ItemStack>
public class IngredientConditioned<I extends IIngredient,T extends IIngredientConditioned<I>>
extends IngredientCraftTweaker<T>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <I extends IIngredient,T extends IIngredientConditioned<I>>
net.minecraft.world.item.crafting.Ingredientingredient(T crtIngredient) static <I extends IIngredient,T extends IIngredientConditioned<I>>
IngredientConditioned<I,T> of(T crtIngredient) booleantest(net.minecraft.world.item.ItemStack stack) Methods inherited from class com.blamejared.crafttweaker.api.ingredient.vanilla.type.IngredientCraftTweaker
equals, getCrTIngredient, getMatchingStacks, hashCode, isEmpty, requiresTestingMethods 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
public static <I extends IIngredient,T extends IIngredientConditioned<I>> IngredientConditioned<I,T> of(T crtIngredient) -
ingredient
public static <I extends IIngredient,T extends IIngredientConditioned<I>> net.minecraft.world.item.crafting.Ingredient ingredient(T crtIngredient) -
test
public boolean test(@Nullable net.minecraft.world.item.ItemStack stack) - Specified by:
testin interfaceCraftTweakerVanillaIngredient- Specified by:
testin interfaceIngredientCraftTweakerBase- Specified by:
testin interfacePredicate<I extends IIngredient>- Overrides:
testin classIngredientCraftTweaker<T extends IIngredientConditioned<I>>
-
serializer
-
getCondition
-