Class Ingredient

java.lang.Object
net.minecraft.world.item.crafting.Ingredient
All Implemented Interfaces:
Predicate<ItemStack>
Direct Known Subclasses:
CompoundIngredient, NBTIngredient

public class Ingredient extends Object implements Predicate<ItemStack>
  • Field Details

    • INSTANCES

      private static final Set<Ingredient> INSTANCES
    • EMPTY

      public static final Ingredient EMPTY
    • values

      private final Ingredient.Value[] values
    • itemStacks

      private ItemStack[] itemStacks
    • stackingIds

      private it.unimi.dsi.fastutil.ints.IntList stackingIds
    • isSimple

      private final boolean isSimple
    • isVanilla

      private final boolean isVanilla
  • Constructor Details

  • Method Details