Package net.minecraft.recipe.book
Class RecipeBookOptions
java.lang.Object
net.minecraft.recipe.book.RecipeBookOptions
- Mappings:
Namespace Name named net/minecraft/recipe/book/RecipeBookOptionsintermediary net/minecraft/class_5411official axc
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier 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
ConstructorsModifierConstructorDescriptionprivateRecipeBookOptions(Map<RecipeBookType, RecipeBookOptions.CategoryOption> categoryOptions) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidapply(RecipeBookType category, UnaryOperator<RecipeBookOptions.CategoryOption> modifier) copy()voidcopyFrom(RecipeBookOptions other) booleanstatic RecipeBookOptionsfromNbt(NbtCompound nbt) private static RecipeBookOptionsfromPacket(PacketByteBuf buf) private RecipeBookOptions.CategoryOptiongetOption(RecipeBookType category) inthashCode()booleanisFilteringCraftable(RecipeBookType category) booleanisGuiOpen(RecipeBookType category) voidsetFilteringCraftable(RecipeBookType category, boolean filtering) voidsetGuiOpen(RecipeBookType category, boolean open) private voidtoPacket(PacketByteBuf buf) voidwriteNbt(NbtCompound nbt)
-
Field Details
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/recipe/book/RecipeBookOptions;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_54548Lnet/minecraft/class_5411;field_54548:Lnet/minecraft/class_9139;official aLaxc;a:Lze;
-
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_NAMESLnet/minecraft/recipe/book/RecipeBookOptions;CATEGORY_OPTION_NAMES:Ljava/util/Map;intermediary field_25735Lnet/minecraft/class_5411;field_25735:Ljava/util/Map;official bLaxc;b:Ljava/util/Map;
-
categoryOptions
- Mappings:
Namespace Name Mixin selector named categoryOptionsLnet/minecraft/recipe/book/RecipeBookOptions;categoryOptions:Ljava/util/Map;intermediary field_25736Lnet/minecraft/class_5411;field_25736:Ljava/util/Map;official cLaxc;c:Ljava/util/Map;
-
-
Constructor Details
-
RecipeBookOptions
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/recipe/book/RecipeBookOptions;<init>(Ljava/util/Map;)Vintermediary <init>Lnet/minecraft/class_5411;<init>(Ljava/util/Map;)Vofficial <init>Laxc;<init>(Ljava/util/Map;)V
-
RecipeBookOptions
public RecipeBookOptions()
-
-
Method Details
-
getOption
- Mappings:
Namespace Name Mixin selector named getOptionLnet/minecraft/recipe/book/RecipeBookOptions;getOption(Lnet/minecraft/recipe/book/RecipeBookType;)Lnet/minecraft/recipe/book/RecipeBookOptions$CategoryOption;intermediary method_64585Lnet/minecraft/class_5411;method_64585(Lnet/minecraft/class_5421;)Lnet/minecraft/class_5411$class_5412;official cLaxc;c(Lcxr;)Laxc$a;
-
apply
private void apply(RecipeBookType category, UnaryOperator<RecipeBookOptions.CategoryOption> modifier) - Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/recipe/book/RecipeBookOptions;apply(Lnet/minecraft/recipe/book/RecipeBookType;Ljava/util/function/UnaryOperator;)Vintermediary method_64581Lnet/minecraft/class_5411;method_64581(Lnet/minecraft/class_5421;Ljava/util/function/UnaryOperator;)Vofficial aLaxc;a(Lcxr;Ljava/util/function/UnaryOperator;)V
-
isGuiOpen
- Mappings:
Namespace Name Mixin selector named isGuiOpenLnet/minecraft/recipe/book/RecipeBookOptions;isGuiOpen(Lnet/minecraft/recipe/book/RecipeBookType;)Zintermediary method_30180Lnet/minecraft/class_5411;method_30180(Lnet/minecraft/class_5421;)Zofficial aLaxc;a(Lcxr;)Z
-
setGuiOpen
- Mappings:
Namespace Name Mixin selector named setGuiOpenLnet/minecraft/recipe/book/RecipeBookOptions;setGuiOpen(Lnet/minecraft/recipe/book/RecipeBookType;Z)Vintermediary method_30181Lnet/minecraft/class_5411;method_30181(Lnet/minecraft/class_5421;Z)Vofficial aLaxc;a(Lcxr;Z)V
-
isFilteringCraftable
- Mappings:
Namespace Name Mixin selector named isFilteringCraftableLnet/minecraft/recipe/book/RecipeBookOptions;isFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookType;)Zintermediary method_30187Lnet/minecraft/class_5411;method_30187(Lnet/minecraft/class_5421;)Zofficial bLaxc;b(Lcxr;)Z
-
setFilteringCraftable
- Mappings:
Namespace Name Mixin selector named setFilteringCraftableLnet/minecraft/recipe/book/RecipeBookOptions;setFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookType;Z)Vintermediary method_30188Lnet/minecraft/class_5411;method_30188(Lnet/minecraft/class_5421;Z)Vofficial bLaxc;b(Lcxr;Z)V
-
fromPacket
- Mappings:
Namespace Name Mixin selector named fromPacketLnet/minecraft/recipe/book/RecipeBookOptions;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/recipe/book/RecipeBookOptions;intermediary method_30186Lnet/minecraft/class_5411;method_30186(Lnet/minecraft/class_2540;)Lnet/minecraft/class_5411;official aLaxc;a(Lvy;)Laxc;
-
toPacket
- Mappings:
Namespace Name Mixin selector named toPacketLnet/minecraft/recipe/book/RecipeBookOptions;toPacket(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_30190Lnet/minecraft/class_5411;method_30190(Lnet/minecraft/class_2540;)Vofficial bLaxc;b(Lvy;)V
-
fromNbt
- Mappings:
Namespace Name Mixin selector named fromNbtLnet/minecraft/recipe/book/RecipeBookOptions;fromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/recipe/book/RecipeBookOptions;intermediary method_30183Lnet/minecraft/class_5411;method_30183(Lnet/minecraft/class_2487;)Lnet/minecraft/class_5411;official aLaxc;a(Lua;)Laxc;
-
writeNbt
- Mappings:
Namespace Name Mixin selector named writeNbtLnet/minecraft/recipe/book/RecipeBookOptions;writeNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_30189Lnet/minecraft/class_5411;method_30189(Lnet/minecraft/class_2487;)Vofficial bLaxc;b(Lua;)V
-
copy
- Mappings:
Namespace Name Mixin selector named copyLnet/minecraft/recipe/book/RecipeBookOptions;copy()Lnet/minecraft/recipe/book/RecipeBookOptions;intermediary method_30178Lnet/minecraft/class_5411;method_30178()Lnet/minecraft/class_5411;official aLaxc;a()Laxc;
-
copyFrom
- Mappings:
Namespace Name Mixin selector named copyFromLnet/minecraft/recipe/book/RecipeBookOptions;copyFrom(Lnet/minecraft/recipe/book/RecipeBookOptions;)Vintermediary method_30179Lnet/minecraft/class_5411;method_30179(Lnet/minecraft/class_5411;)Vofficial aLaxc;a(Laxc;)V
-
equals
-
hashCode
public int hashCode()
-