类 Ingredient.StackEntry

  • 所有已实现的接口:
    Ingredient.Entry
    封闭类:
    Ingredient

    static class Ingredient.StackEntry
    extends Object
    implements Ingredient.Entry
    Mappings:
    Namespace Name
    official bsg$a
    intermediary net/minecraft/class_1856$class_1857
    named net/minecraft/recipe/Ingredient$StackEntry
    • 字段详细资料

      • stack

        private final ItemStack stack
        Mappings:
        Namespace Name Mixin selector
        official a Lbsg$a;a:Lbpr;
        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;
    • 构造器详细资料

      • StackEntry

        private StackEntry​(ItemStack stack)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbsg$a;<init>(Lbpr;)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
    • 方法详细资料

      • getStacks

        public Collection<ItemStack> getStacks()
        指定者:
        getStacks 在接口中 Ingredient.Entry
        Mappings:
        Namespace Name Mixin selector
        official a Lbsg$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()
        指定者:
        toJson 在接口中 Ingredient.Entry
        Mappings:
        Namespace Name Mixin selector
        official b Lbsg$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;