Class Ingredient

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

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

    • INVALIDATION_COUNTER

      private static final AtomicInteger INVALIDATION_COUNTER
    • EMPTY

      public static final Ingredient EMPTY
    • values

      private final Ingredient.Value[] values
    • itemStacks

      @Nullable private ItemStack[] itemStacks
    • stackingIds

      @Nullable private it.unimi.dsi.fastutil.ints.IntList stackingIds
    • invalidationCounter

      private int invalidationCounter
    • isVanilla

      private final boolean isVanilla
  • Constructor Details

  • Method Details