Class Ingredient

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

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

    • field_17439

      private static final Predicate<? super Ingredient.class_3577> field_17439
      Mappings:
      Namespace Name Mixin selector
      official b Lavh;b:Ljava/util/function/Predicate;
      intermediary field_17439 Lnet/minecraft/class_3193;field_17439:Ljava/util/function/Predicate;
      named field_17439 Lnet/minecraft/recipe/Ingredient;field_17439:Ljava/util/function/Predicate;
    • field_15680

      public static final Ingredient field_15680
      Mappings:
      Namespace Name Mixin selector
      official a Lavh;a:Lavh;
      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_17440

      private final Ingredient.class_3577[] field_17440
      Mappings:
      Namespace Name Mixin selector
      official c Lavh;c:[Lavh$c;
      intermediary field_17440 Lnet/minecraft/class_3193;field_17440:[Lnet/minecraft/class_3193$class_3577;
      named field_17440 Lnet/minecraft/recipe/Ingredient;field_17440:[Lnet/minecraft/recipe/Ingredient$class_3577;
    • field_15681

      private ItemStack[] field_15681
      Mappings:
      Namespace Name Mixin selector
      official d Lavh;d:[Late;
      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 e Lavh;e: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

  • Method Details

    • method_14244

      @Environment(CLIENT) public ItemStack[] method_14244()
      Mappings:
      Namespace Name Mixin selector
      official a Lavh;a()[Late;
      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;
    • method_16197

      private void method_16197()
      Mappings:
      Namespace Name Mixin selector
      official f Lavh;f()V
      intermediary method_16197 Lnet/minecraft/class_3193;method_16197()V
      named method_16197 Lnet/minecraft/recipe/Ingredient;method_16197()V
    • test

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

      public IntList method_14249()
      Mappings:
      Namespace Name Mixin selector
      official b Lavh;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_16185

      public void method_16185(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official a Lavh;a(Lhy;)V
      intermediary method_16185 Lnet/minecraft/class_3193;method_16185(Lnet/minecraft/class_1967;)V
      named method_16185 Lnet/minecraft/recipe/Ingredient;method_16185(Lnet/minecraft/util/PacketByteBuf;)V
    • method_16194

      public JsonElement method_16194()
      Mappings:
      Namespace Name Mixin selector
      official c Lavh;c()Lcom/google/gson/JsonElement;
      intermediary method_16194 Lnet/minecraft/class_3193;method_16194()Lcom/google/gson/JsonElement;
      named method_16194 Lnet/minecraft/recipe/Ingredient;method_16194()Lcom/google/gson/JsonElement;
    • method_16196

      public boolean method_16196()
      Mappings:
      Namespace Name Mixin selector
      official d Lavh;d()Z
      intermediary method_16196 Lnet/minecraft/class_3193;method_16196()Z
      named method_16196 Lnet/minecraft/recipe/Ingredient;method_16196()Z
    • method_16186

      private static Ingredient method_16186(Stream<? extends Ingredient.class_3577> stream)
      Mappings:
      Namespace Name Mixin selector
      official a Lavh;a(Ljava/util/stream/Stream;)Lavh;
      intermediary method_16186 Lnet/minecraft/class_3193;method_16186(Ljava/util/stream/Stream;)Lnet/minecraft/class_3193;
      named method_16186 Lnet/minecraft/recipe/Ingredient;method_16186(Ljava/util/stream/Stream;)Lnet/minecraft/recipe/Ingredient;
    • ofItems

      public static Ingredient ofItems(Itemable[] itemable)
      Mappings:
      Namespace Name Mixin selector
      official a Lavh;a([Laxx;)Lavh;
      intermediary method_16188 Lnet/minecraft/class_3193;method_16188([Lnet/minecraft/class_3597;)Lnet/minecraft/class_3193;
      named ofItems Lnet/minecraft/recipe/Ingredient;ofItems([Lnet/minecraft/item/Itemable;)Lnet/minecraft/recipe/Ingredient;
    • method_14248

      @Environment(CLIENT) public static Ingredient method_14248(ItemStack[] itemStack)
      Mappings:
      Namespace Name Mixin selector
      official a Lavh;a([Late;)Lavh;
      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;
    • fromTag

      public static Ingredient fromTag(Tag<Item> tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lavh;a(Lwz;)Lavh;
      intermediary method_16187 Lnet/minecraft/class_3193;method_16187(Lnet/minecraft/class_4482;)Lnet/minecraft/class_3193;
      named fromTag Lnet/minecraft/recipe/Ingredient;fromTag(Lnet/minecraft/tag/Tag;)Lnet/minecraft/recipe/Ingredient;
    • method_16193

      public static Ingredient method_16193(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official b Lavh;b(Lhy;)Lavh;
      intermediary method_16193 Lnet/minecraft/class_3193;method_16193(Lnet/minecraft/class_1967;)Lnet/minecraft/class_3193;
      named method_16193 Lnet/minecraft/recipe/Ingredient;method_16193(Lnet/minecraft/util/PacketByteBuf;)Lnet/minecraft/recipe/Ingredient;
    • method_16183

      public static Ingredient method_16183(@Nullable JsonElement jsonElement)
      Mappings:
      Namespace Name Mixin selector
      official a Lavh;a(Lcom/google/gson/JsonElement;)Lavh;
      intermediary method_16183 Lnet/minecraft/class_3193;method_16183(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_3193;
      named method_16183 Lnet/minecraft/recipe/Ingredient;method_16183(Lcom/google/gson/JsonElement;)Lnet/minecraft/recipe/Ingredient;
    • method_16184

      public static Ingredient.class_3577 method_16184(JsonObject jsonObject)
      Mappings:
      Namespace Name Mixin selector
      official a Lavh;a(Lcom/google/gson/JsonObject;)Lavh$c;
      intermediary method_16184 Lnet/minecraft/class_3193;method_16184(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_3193$class_3577;
      named method_16184 Lnet/minecraft/recipe/Ingredient;method_16184(Lcom/google/gson/JsonObject;)Lnet/minecraft/recipe/Ingredient$class_3577;