类 RecipeBookOptions


  • public final class RecipeBookOptions
    extends Object
    Mappings:
    Namespace Name
    official afa
    intermediary net/minecraft/class_5411
    named net/minecraft/recipe/book/RecipeBookOptions
    • 字段详细资料

      • CATEGORY_OPTION_NAMES

        private static final Map<RecipeBookCategory,​com.mojang.datafixers.util.Pair<String,​String>> CATEGORY_OPTION_NAMES
        Mappings:
        Namespace Name Mixin selector
        official a Lafa;a:Ljava/util/Map;
        intermediary field_25735 Lnet/minecraft/class_5411;field_25735:Ljava/util/Map;
        named CATEGORY_OPTION_NAMES Lnet/minecraft/recipe/book/RecipeBookOptions;CATEGORY_OPTION_NAMES:Ljava/util/Map;
      • categoryOptions

        private final Map<RecipeBookCategory,​RecipeBookOptions.CategoryOption> categoryOptions
        Mappings:
        Namespace Name Mixin selector
        official b Lafa;b:Ljava/util/Map;
        intermediary field_25736 Lnet/minecraft/class_5411;field_25736:Ljava/util/Map;
        named categoryOptions Lnet/minecraft/recipe/book/RecipeBookOptions;categoryOptions:Ljava/util/Map;
    • 构造器详细资料

      • RecipeBookOptions

        private RecipeBookOptions​(Map<RecipeBookCategory,​RecipeBookOptions.CategoryOption> categoryOptions)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lafa;<init>(Ljava/util/Map;)V
        intermediary <init> Lnet/minecraft/class_5411;<init>(Ljava/util/Map;)V
        named <init> Lnet/minecraft/recipe/book/RecipeBookOptions;<init>(Ljava/util/Map;)V
      • RecipeBookOptions

        public RecipeBookOptions()
    • 方法详细资料

      • isGuiOpen

        public boolean isGuiOpen​(RecipeBookCategory category)
        Mappings:
        Namespace Name Mixin selector
        official a Lafa;a(Lbmv;)Z
        intermediary method_30180 Lnet/minecraft/class_5411;method_30180(Lnet/minecraft/class_5421;)Z
        named isGuiOpen Lnet/minecraft/recipe/book/RecipeBookOptions;isGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
      • setGuiOpen

        public void setGuiOpen​(RecipeBookCategory category,
                               boolean open)
        Mappings:
        Namespace Name Mixin selector
        official a Lafa;a(Lbmv;Z)V
        intermediary method_30181 Lnet/minecraft/class_5411;method_30181(Lnet/minecraft/class_5421;Z)V
        named setGuiOpen Lnet/minecraft/recipe/book/RecipeBookOptions;setGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
      • isFilteringCraftable

        public boolean isFilteringCraftable​(RecipeBookCategory category)
        Mappings:
        Namespace Name Mixin selector
        official b Lafa;b(Lbmv;)Z
        intermediary method_30187 Lnet/minecraft/class_5411;method_30187(Lnet/minecraft/class_5421;)Z
        named isFilteringCraftable Lnet/minecraft/recipe/book/RecipeBookOptions;isFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
      • setFilteringCraftable

        public void setFilteringCraftable​(RecipeBookCategory category,
                                          boolean filtering)
        Mappings:
        Namespace Name Mixin selector
        official b Lafa;b(Lbmv;Z)V
        intermediary method_30188 Lnet/minecraft/class_5411;method_30188(Lnet/minecraft/class_5421;Z)V
        named setFilteringCraftable Lnet/minecraft/recipe/book/RecipeBookOptions;setFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
      • fromPacket

        public static RecipeBookOptions fromPacket​(PacketByteBuf buf)
        Mappings:
        Namespace Name Mixin selector
        official a Lafa;a(Lob;)Lafa;
        intermediary method_30186 Lnet/minecraft/class_5411;method_30186(Lnet/minecraft/class_2540;)Lnet/minecraft/class_5411;
        named fromPacket Lnet/minecraft/recipe/book/RecipeBookOptions;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/recipe/book/RecipeBookOptions;
      • toPacket

        public void toPacket​(PacketByteBuf buf)
        Mappings:
        Namespace Name Mixin selector
        official b Lafa;b(Lob;)V
        intermediary method_30190 Lnet/minecraft/class_5411;method_30190(Lnet/minecraft/class_2540;)V
        named toPacket Lnet/minecraft/recipe/book/RecipeBookOptions;toPacket(Lnet/minecraft/network/PacketByteBuf;)V
      • fromNbt

        public static RecipeBookOptions fromNbt​(CompoundTag nbt)
        Mappings:
        Namespace Name Mixin selector
        official a Lafa;a(Lmv;)Lafa;
        intermediary method_30183 Lnet/minecraft/class_5411;method_30183(Lnet/minecraft/class_2487;)Lnet/minecraft/class_5411;
        named fromNbt Lnet/minecraft/recipe/book/RecipeBookOptions;fromNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/recipe/book/RecipeBookOptions;
      • writeNbt

        public void writeNbt​(CompoundTag nbt)
        Mappings:
        Namespace Name Mixin selector
        official b Lafa;b(Lmv;)V
        intermediary method_30189 Lnet/minecraft/class_5411;method_30189(Lnet/minecraft/class_2487;)V
        named writeNbt Lnet/minecraft/recipe/book/RecipeBookOptions;writeNbt(Lnet/minecraft/nbt/CompoundTag;)V
      • copy

        public RecipeBookOptions copy()
        Mappings:
        Namespace Name Mixin selector
        official a Lafa;a()Lafa;
        intermediary method_30178 Lnet/minecraft/class_5411;method_30178()Lnet/minecraft/class_5411;
        named copy Lnet/minecraft/recipe/book/RecipeBookOptions;copy()Lnet/minecraft/recipe/book/RecipeBookOptions;
      • copyFrom

        public void copyFrom​(RecipeBookOptions other)
        Mappings:
        Namespace Name Mixin selector
        official a Lafa;a(Lafa;)V
        intermediary method_30179 Lnet/minecraft/class_5411;method_30179(Lnet/minecraft/class_5411;)V
        named copyFrom Lnet/minecraft/recipe/book/RecipeBookOptions;copyFrom(Lnet/minecraft/recipe/book/RecipeBookOptions;)V
      • equals

        public boolean equals​(Object object)
        覆盖:
        equals 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official equals Lafa;equals(Ljava/lang/Object;)Z
        intermediary equals Lnet/minecraft/class_5411;equals(Ljava/lang/Object;)Z
        named equals Lnet/minecraft/recipe/book/RecipeBookOptions;equals(Ljava/lang/Object;)Z
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official hashCode Lafa;hashCode()I
        intermediary hashCode Lnet/minecraft/class_5411;hashCode()I
        named hashCode Lnet/minecraft/recipe/book/RecipeBookOptions;hashCode()I