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 axk
  • Field Details

    • PACKET_CODEC

      public static final PacketCodec<PacketByteBuf,RecipeBookOptions> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/recipe/book/RecipeBookOptions;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_54548 Lnet/minecraft/class_5411;field_54548:Lnet/minecraft/class_9139;
      official a Laxk;a:Lzi;
    • field_60335

      public static final com.mojang.serialization.MapCodec<RecipeBookOptions> field_60335
      Mappings:
      Namespace Name Mixin selector
      named field_60335 Lnet/minecraft/recipe/book/RecipeBookOptions;field_60335:Lcom/mojang/serialization/MapCodec;
      intermediary field_60335 Lnet/minecraft/class_5411;field_60335:Lcom/mojang/serialization/MapCodec;
      official b Laxk;b:Lcom/mojang/serialization/MapCodec;
    • field_60336

      private RecipeBookOptions.CategoryOption field_60336
      Mappings:
      Namespace Name Mixin selector
      named field_60336 Lnet/minecraft/recipe/book/RecipeBookOptions;field_60336:Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;
      intermediary field_60336 Lnet/minecraft/class_5411;field_60336:Lnet/minecraft/class_5411$class_5412;
      official c Laxk;c:Laxk$a;
    • field_60337

      private RecipeBookOptions.CategoryOption field_60337
      Mappings:
      Namespace Name Mixin selector
      named field_60337 Lnet/minecraft/recipe/book/RecipeBookOptions;field_60337:Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;
      intermediary field_60337 Lnet/minecraft/class_5411;field_60337:Lnet/minecraft/class_5411$class_5412;
      official d Laxk;d:Laxk$a;
    • field_60338

      private RecipeBookOptions.CategoryOption field_60338
      Mappings:
      Namespace Name Mixin selector
      named field_60338 Lnet/minecraft/recipe/book/RecipeBookOptions;field_60338:Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;
      intermediary field_60338 Lnet/minecraft/class_5411;field_60338:Lnet/minecraft/class_5411$class_5412;
      official e Laxk;e:Laxk$a;
    • field_60339

      private RecipeBookOptions.CategoryOption field_60339
      Mappings:
      Namespace Name Mixin selector
      named field_60339 Lnet/minecraft/recipe/book/RecipeBookOptions;field_60339:Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;
      intermediary field_60339 Lnet/minecraft/class_5411;field_60339:Lnet/minecraft/class_5411$class_5412;
      official f Laxk;f:Laxk$a;
  • Constructor Details

  • Method Details

    • getOption

      public RecipeBookOptions.CategoryOption getOption(RecipeBookType recipeBookType)
      Mappings:
      Namespace Name Mixin selector
      named getOption Lnet/minecraft/recipe/book/RecipeBookOptions;getOption(Lnet/minecraft/recipe/book/RecipeBookType;)Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;
      intermediary method_64585 Lnet/minecraft/class_5411;method_64585(Lnet/minecraft/class_5421;)Lnet/minecraft/class_5411$class_5412;
      official a Laxk;a(Lcyh;)Laxk$a;
    • apply

      private void apply(RecipeBookType recipeBookType, UnaryOperator<RecipeBookOptions.CategoryOption> modifier)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/recipe/book/RecipeBookOptions;apply(Lnet/minecraft/recipe/book/RecipeBookType;Ljava/util/function/UnaryOperator;)V
      intermediary method_64581 Lnet/minecraft/class_5411;method_64581(Lnet/minecraft/class_5421;Ljava/util/function/UnaryOperator;)V
      official a Laxk;a(Lcyh;Ljava/util/function/UnaryOperator;)V
    • isGuiOpen

      public boolean isGuiOpen(RecipeBookType category)
      Mappings:
      Namespace Name Mixin selector
      named isGuiOpen Lnet/minecraft/recipe/book/RecipeBookOptions;isGuiOpen(Lnet/minecraft/recipe/book/RecipeBookType;)Z
      intermediary method_30180 Lnet/minecraft/class_5411;method_30180(Lnet/minecraft/class_5421;)Z
      official b Laxk;b(Lcyh;)Z
    • setGuiOpen

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

      public boolean isFilteringCraftable(RecipeBookType category)
      Mappings:
      Namespace Name Mixin selector
      named isFilteringCraftable Lnet/minecraft/recipe/book/RecipeBookOptions;isFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookType;)Z
      intermediary method_30187 Lnet/minecraft/class_5411;method_30187(Lnet/minecraft/class_5421;)Z
      official c Laxk;c(Lcyh;)Z
    • setFilteringCraftable

      public void setFilteringCraftable(RecipeBookType category, boolean filtering)
      Mappings:
      Namespace Name Mixin selector
      named setFilteringCraftable Lnet/minecraft/recipe/book/RecipeBookOptions;setFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookType;Z)V
      intermediary method_30188 Lnet/minecraft/class_5411;method_30188(Lnet/minecraft/class_5421;Z)V
      official b Laxk;b(Lcyh;Z)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 Laxk;a()Laxk;
    • copyFrom

      public void copyFrom(RecipeBookOptions recipeBookOptions)
      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 Laxk;a(Laxk;)V