Class Ingredient.TagEntry

java.lang.Object
net.minecraft.recipe.Ingredient.TagEntry
All Implemented Interfaces:
Ingredient.Entry
Enclosing class:
Ingredient

private static class Ingredient.TagEntry extends Object implements Ingredient.Entry
Mappings:
Namespace Name
official bwm$b
intermediary net/minecraft/class_1856$class_1858
named net/minecraft/recipe/Ingredient$TagEntry
  • Field Details

    • tag

      private final Tag<Item> tag
      Mappings:
      Namespace Name Mixin selector
      official a Lbwm$b;a:Lahl;
      intermediary field_9022 Lnet/minecraft/class_1856$class_1858;field_9022:Lnet/minecraft/class_3494;
      named tag Lnet/minecraft/recipe/Ingredient$TagEntry;tag:Lnet/minecraft/tag/Tag;
  • Constructor Details

    • TagEntry

      TagEntry(Tag<Item> tag)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbwm$b;<init>(Lahl;)V
      intermediary <init> Lnet/minecraft/class_1856$class_1858;<init>(Lnet/minecraft/class_3494;)V
      named <init> Lnet/minecraft/recipe/Ingredient$TagEntry;<init>(Lnet/minecraft/tag/Tag;)V
  • Method Details

    • getStacks

      public Collection<ItemStack> getStacks()
      Specified by:
      getStacks in interface Ingredient.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lbwm$c;a()Ljava/util/Collection;
      intermediary method_8108 Lnet/minecraft/class_1856$class_1859;method_8108()Ljava/util/Collection;
      named getStacks Lnet/minecraft/recipe/Ingredient$Entry;getStacks()Ljava/util/Collection;
    • toJson

      public JsonObject toJson()
      Specified by:
      toJson in interface Ingredient.Entry
      Mappings:
      Namespace Name Mixin selector
      official b Lbwm$c;b()Lcom/google/gson/JsonObject;
      intermediary method_8109 Lnet/minecraft/class_1856$class_1859;method_8109()Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/recipe/Ingredient$Entry;toJson()Lcom/google/gson/JsonObject;