Class RecipeBookOptions

java.lang.Object
net.minecraft.recipe.book.RecipeBookOptions

public final class RecipeBookOptions extends Object
Mappings:
Namespace Name
named net/minecraft/recipe/book/RecipeBookOptions
intermediary net/minecraft/class_5411
official avs
  • Field Details

    • CATEGORY_OPTION_NAMES

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

      Mappings:
      Namespace Name Mixin selector
      named categoryOptions Lnet/minecraft/recipe/book/RecipeBookOptions;categoryOptions:Ljava/util/Map;
      intermediary field_25736 Lnet/minecraft/class_5411;field_25736:Ljava/util/Map;
      official b Lavs;b:Ljava/util/Map;
  • Constructor Details

    • RecipeBookOptions

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

      public RecipeBookOptions()
  • Method Details

    • isGuiOpen

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

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

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

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

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

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

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

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

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

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/recipe/book/RecipeBookOptions;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_5411;equals(Ljava/lang/Object;)Z
      official equals Lavs;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object