Class Ingredient.StackEntry

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

private static class Ingredient.StackEntry extends Object implements Ingredient.Entry
Mappings:
Namespace Name
official bwt$a
intermediary net/minecraft/class_1856$class_1857
named net/minecraft/recipe/Ingredient$StackEntry
  • Field Details

    • stack

      private final ItemStack stack
      Mappings:
      Namespace Name Mixin selector
      official a Lbwt$a;a:Lbue;
      intermediary field_9021 Lnet/minecraft/class_1856$class_1857;field_9021:Lnet/minecraft/class_1799;
      named stack Lnet/minecraft/recipe/Ingredient$StackEntry;stack:Lnet/minecraft/item/ItemStack;
  • Constructor Details

    • StackEntry

      StackEntry(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbwt$a;<init>(Lbue;)V
      intermediary <init> Lnet/minecraft/class_1856$class_1857;<init>(Lnet/minecraft/class_1799;)V
      named <init> Lnet/minecraft/recipe/Ingredient$StackEntry;<init>(Lnet/minecraft/item/ItemStack;)V
  • Method Details

    • getStacks

      public Collection<ItemStack> getStacks()
      Specified by:
      getStacks in interface Ingredient.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lbwt$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 Lbwt$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;