Package net.minecraft.recipe.book
Class RecipeBookOptions
java.lang.Object
net.minecraft.recipe.book.RecipeBookOptions
- Mappings:
Namespace Name official amv
intermediary net/minecraft/class_5411
named net/minecraft/recipe/book/RecipeBookOptions
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<RecipeBookCategory,
com.mojang.datafixers.util.Pair<String, String>> private final Map<RecipeBookCategory,
RecipeBookOptions.CategoryOption> -
Constructor Summary
ModifierConstructorDescriptionprivate
RecipeBookOptions
(Map<RecipeBookCategory, RecipeBookOptions.CategoryOption> categoryOptions) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyFrom
(RecipeBookOptions other) boolean
static RecipeBookOptions
fromNbt
(NbtCompound nbt) static RecipeBookOptions
fromPacket
(PacketByteBuf buf) int
hashCode()
boolean
isFilteringCraftable
(RecipeBookCategory category) boolean
isGuiOpen
(RecipeBookCategory category) void
setFilteringCraftable
(RecipeBookCategory category, boolean filtering) void
setGuiOpen
(RecipeBookCategory category, boolean open) void
toPacket
(PacketByteBuf buf) void
writeNbt
(NbtCompound nbt)
-
Field Details
-
CATEGORY_OPTION_NAMES
private static final Map<RecipeBookCategory,com.mojang.datafixers.util.Pair<String, CATEGORY_OPTION_NAMESString>> - Mappings:
Namespace Name Mixin selector official a
Lamv;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
- Mappings:
Namespace Name Mixin selector official b
Lamv;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;
-
-
Constructor Details
-
RecipeBookOptions
- Mappings:
Namespace Name Mixin selector official <init>
Lamv;<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()
-
-
Method Details
-
isGuiOpen
- Mappings:
Namespace Name Mixin selector official a
Lamv;a(Lccp;)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
- Mappings:
Namespace Name Mixin selector official a
Lamv;a(Lccp;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
- Mappings:
Namespace Name Mixin selector official b
Lamv;b(Lccp;)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
- Mappings:
Namespace Name Mixin selector official b
Lamv;b(Lccp;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
- Mappings:
Namespace Name Mixin selector official a
Lamv;a(Lss;)Lamv;
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
- Mappings:
Namespace Name Mixin selector official b
Lamv;b(Lss;)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
- Mappings:
Namespace Name Mixin selector official a
Lamv;a(Lre;)Lamv;
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/NbtCompound;)Lnet/minecraft/recipe/book/RecipeBookOptions;
-
writeNbt
- Mappings:
Namespace Name Mixin selector official b
Lamv;b(Lre;)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/NbtCompound;)V
-
copy
- Mappings:
Namespace Name Mixin selector official a
Lamv;a()Lamv;
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
- Mappings:
Namespace Name Mixin selector official a
Lamv;a(Lamv;)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
-
hashCode
public int hashCode()
-