Class Ingredient

java.lang.Object
net.minecraft.recipe.Ingredient
All Implemented Interfaces:
Predicate<ItemStack>, Predicate<ItemStack>

public class Ingredient extends Object implements Predicate<ItemStack>
Mappings:
Namespace Name
official akq
intermediary net/minecraft/class_3193
named net/minecraft/recipe/Ingredient
  • Field Details

    • field_15680

      public static final Ingredient field_15680
      Mappings:
      Namespace Name Mixin selector
      official a Lakq;a:Lakq;
      intermediary field_15680 Lnet/minecraft/class_3193;field_15680:Lnet/minecraft/class_3193;
      named field_15680 Lnet/minecraft/recipe/Ingredient;field_15680:Lnet/minecraft/recipe/Ingredient;
    • field_15681

      private final ItemStack[] field_15681
      Mappings:
      Namespace Name Mixin selector
      official b Lakq;b:[Laip;
      intermediary field_15681 Lnet/minecraft/class_3193;field_15681:[Lnet/minecraft/class_1071;
      named field_15681 Lnet/minecraft/recipe/Ingredient;field_15681:[Lnet/minecraft/item/ItemStack;
    • field_15682

      private IntList field_15682
      Mappings:
      Namespace Name Mixin selector
      official c Lakq;c:Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary field_15682 Lnet/minecraft/class_3193;field_15682:Lit/unimi/dsi/fastutil/ints/IntList;
      named field_15682 Lnet/minecraft/recipe/Ingredient;field_15682:Lit/unimi/dsi/fastutil/ints/IntList;
  • Constructor Details

    • Ingredient

      private Ingredient(ItemStack[] itemStack)
  • Method Details

    • method_14244

      @Environment(CLIENT) public ItemStack[] method_14244()
      Mappings:
      Namespace Name Mixin selector
      official a Lakq;a()[Laip;
      intermediary method_14244 Lnet/minecraft/class_3193;method_14244()[Lnet/minecraft/class_1071;
      named method_14244 Lnet/minecraft/recipe/Ingredient;method_14244()[Lnet/minecraft/item/ItemStack;
    • apply

      public boolean apply(@Nullable ItemStack itemStack)
      Specified by:
      apply in interface Predicate<ItemStack>
      Mappings:
      Namespace Name Mixin selector
      official a Lakq;a(Laip;)Z
      intermediary method_14246 Lnet/minecraft/class_3193;method_14246(Lnet/minecraft/class_1071;)Z
      named apply Lnet/minecraft/recipe/Ingredient;apply(Lnet/minecraft/item/ItemStack;)Z
    • method_14249

      public IntList method_14249()
      Mappings:
      Namespace Name Mixin selector
      official b Lakq;b()Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary method_14249 Lnet/minecraft/class_3193;method_14249()Lit/unimi/dsi/fastutil/ints/IntList;
      named method_14249 Lnet/minecraft/recipe/Ingredient;method_14249()Lit/unimi/dsi/fastutil/ints/IntList;
    • method_14245

      public static Ingredient method_14245(Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Lakq;a(Lain;)Lakq;
      intermediary method_14245 Lnet/minecraft/class_3193;method_14245(Lnet/minecraft/class_1069;)Lnet/minecraft/class_3193;
      named method_14245 Lnet/minecraft/recipe/Ingredient;method_14245(Lnet/minecraft/item/Item;)Lnet/minecraft/recipe/Ingredient;
    • method_14247

      public static Ingredient method_14247(Item[] item)
      Mappings:
      Namespace Name Mixin selector
      official a Lakq;a([Lain;)Lakq;
      intermediary method_14247 Lnet/minecraft/class_3193;method_14247([Lnet/minecraft/class_1069;)Lnet/minecraft/class_3193;
      named method_14247 Lnet/minecraft/recipe/Ingredient;method_14247([Lnet/minecraft/item/Item;)Lnet/minecraft/recipe/Ingredient;
    • method_14248

      public static Ingredient method_14248(ItemStack[] itemStack)
      Mappings:
      Namespace Name Mixin selector
      official a Lakq;a([Laip;)Lakq;
      intermediary method_14248 Lnet/minecraft/class_3193;method_14248([Lnet/minecraft/class_1071;)Lnet/minecraft/class_3193;
      named method_14248 Lnet/minecraft/recipe/Ingredient;method_14248([Lnet/minecraft/item/ItemStack;)Lnet/minecraft/recipe/Ingredient;