Class IngredientList

java.lang.Object
net.minecraft.world.item.crafting.Ingredient
net.minecraftforge.common.crafting.AbstractIngredient
net.minecraftforge.common.crafting.CompoundIngredient
com.blamejared.crafttweaker.api.ingredient.type.IngredientList
All Implemented Interfaces:
Predicate<net.minecraft.world.item.ItemStack>

@ParametersAreNonnullByDefault public class IngredientList extends net.minecraftforge.common.crafting.CompoundIngredient
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.common.crafting.CompoundIngredient

    net.minecraftforge.common.crafting.CompoundIngredient.Serializer

    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
    Constructor
    Description
    IngredientList(List<net.minecraft.world.item.crafting.Ingredient> children)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraftforge.common.crafting.IIngredientSerializer<? extends net.minecraft.world.item.crafting.Ingredient>
     
    com.google.gson.JsonElement
     

    Methods inherited from class net.minecraftforge.common.crafting.CompoundIngredient

    getChildren, getItems, getStackingIds, invalidate, isEmpty, isSimple, of, test

    Methods inherited from class net.minecraftforge.common.crafting.AbstractIngredient

    fromJson, fromNetwork, fromValues, of, of, of, of, of

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

    checkInvalidation, fromJson, invalidateAll, isVanilla, markValid, merge, toNetwork, valueFromJson

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Constructor Details

    • IngredientList

      public IngredientList(List<net.minecraft.world.item.crafting.Ingredient> children)
  • Method Details

    • toJson

      public com.google.gson.JsonElement toJson()
      Overrides:
      toJson in class net.minecraftforge.common.crafting.CompoundIngredient
    • getSerializer

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