Class IngredientCraftTweaker<T extends IIngredient>

java.lang.Object
net.minecraft.world.item.crafting.Ingredient
com.blamejared.crafttweaker.api.ingredient.type.IngredientCraftTweaker<T>
All Implemented Interfaces:
IngredientCraftTweakerBase, Predicate<net.minecraft.world.item.ItemStack>
Direct Known Subclasses:
IngredientConditioned, IngredientTransformed

public abstract class IngredientCraftTweaker<T extends IIngredient> extends net.minecraft.world.item.crafting.Ingredient implements IngredientCraftTweakerBase
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.item.crafting.Ingredient

    net.minecraft.world.item.crafting.Ingredient.ItemValue, net.minecraft.world.item.crafting.Ingredient.TagValue, net.minecraft.world.item.crafting.Ingredient.Value
  • Field Summary

    Fields inherited from class net.minecraft.world.item.crafting.Ingredient

    EMPTY
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    IngredientCraftTweaker(T crtIngredient)
     
    protected
    IngredientCraftTweaker(T crtIngredient, Stream<? extends net.minecraft.world.item.crafting.Ingredient.Value> itemLists)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    abstract net.minecraftforge.common.crafting.IIngredientSerializer<? extends net.minecraft.world.item.crafting.Ingredient>
     
    boolean
     

    Methods inherited from class net.minecraft.world.item.crafting.Ingredient

    checkInvalidation, fromJson, fromJson, fromNetwork, fromValues, getItems, getStackingIds, invalidate, invalidateAll, isEmpty, isVanilla, markValid, merge, of, of, of, of, of, test, toJson, toNetwork, valueFromJson

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.blamejared.crafttweaker.api.ingredient.type.IngredientCraftTweakerBase

    test

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Constructor Details

    • IngredientCraftTweaker

      protected IngredientCraftTweaker(T crtIngredient, Stream<? extends net.minecraft.world.item.crafting.Ingredient.Value> itemLists)
    • IngredientCraftTweaker

      protected IngredientCraftTweaker(T crtIngredient)
  • Method Details

    • getSerializer

      public abstract net.minecraftforge.common.crafting.IIngredientSerializer<? extends net.minecraft.world.item.crafting.Ingredient> getSerializer()
      Overrides:
      getSerializer in class net.minecraft.world.item.crafting.Ingredient
    • getCrTIngredient

      public T getCrTIngredient()
      Specified by:
      getCrTIngredient in interface IngredientCraftTweakerBase
    • isSimple

      public boolean isSimple()
      Specified by:
      isSimple in interface IngredientCraftTweakerBase
      Overrides:
      isSimple in class net.minecraft.world.item.crafting.Ingredient