Package net.minecraft.recipe.book
Class RecipeBookOptions
java.lang.Object
net.minecraft.recipe.book.RecipeBookOptions
- Mappings:
Namespace Name named net/minecraft/recipe/book/RecipeBookOptions
intermediary net/minecraft/class_5411
official axj
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map
<RecipeBookType, com.mojang.datafixers.util.Pair<String, String>> private final Map
<RecipeBookType, RecipeBookOptions.CategoryOption> static final PacketCodec
<PacketByteBuf, RecipeBookOptions> -
Constructor Summary
ModifierConstructorDescriptionprivate
RecipeBookOptions
(Map<RecipeBookType, RecipeBookOptions.CategoryOption> categoryOptions) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
apply
(RecipeBookType category, UnaryOperator<RecipeBookOptions.CategoryOption> modifier) copy()
void
copyFrom
(RecipeBookOptions other) boolean
static RecipeBookOptions
fromNbt
(NbtCompound nbt) private static RecipeBookOptions
fromPacket
(PacketByteBuf buf) private RecipeBookOptions.CategoryOption
getOption
(RecipeBookType category) int
hashCode()
boolean
isFilteringCraftable
(RecipeBookType category) boolean
isGuiOpen
(RecipeBookType category) void
setFilteringCraftable
(RecipeBookType category, boolean filtering) void
setGuiOpen
(RecipeBookType category, boolean open) private void
toPacket
(PacketByteBuf buf) void
writeNbt
(NbtCompound nbt)
-
Field Details
-
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
Laxj;a:Lzt;
-
CATEGORY_OPTION_NAMES
private static final Map<RecipeBookType,com.mojang.datafixers.util.Pair<String, CATEGORY_OPTION_NAMESString>> - 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 b
Laxj;b: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 c
Laxj;c:Ljava/util/Map;
-
-
Constructor Details
-
RecipeBookOptions
- 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>
Laxj;<init>(Ljava/util/Map;)V
-
RecipeBookOptions
public RecipeBookOptions()
-
-
Method Details
-
getOption
- 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 c
Laxj;c(Lcur;)Laxj$a;
-
apply
private void apply(RecipeBookType category, 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
Laxj;a(Lcur;Ljava/util/function/UnaryOperator;)V
-
isGuiOpen
- 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 a
Laxj;a(Lcur;)Z
-
setGuiOpen
- 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
Laxj;a(Lcur;Z)V
-
isFilteringCraftable
- 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 b
Laxj;b(Lcur;)Z
-
setFilteringCraftable
- 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
Laxj;b(Lcur;Z)V
-
fromPacket
- 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
Laxj;a(Lws;)Laxj;
-
toPacket
- 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
Laxj;b(Lws;)V
-
fromNbt
- 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
Laxj;a(Lux;)Laxj;
-
writeNbt
- 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
Laxj;b(Lux;)V
-
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
Laxj;a()Laxj;
-
copyFrom
- 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
Laxj;a(Laxj;)V
-
equals
-
hashCode
public int hashCode()
-