Package net.minecraft.recipe.book
Class RecipeBookOptions
java.lang.Object
net.minecraft.recipe.book.RecipeBookOptions
- Mappings:
Namespace Name official afiintermediary net/minecraft/class_5411named net/minecraft/recipe/book/RecipeBookOptions
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Map<RecipeBookCategory,com.mojang.datafixers.util.Pair<String,String>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRecipeBookOptions(Map<RecipeBookCategory,RecipeBookOptions.CategoryOption> categoryOptions) -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidcopyFrom(RecipeBookOptions other)booleanstatic RecipeBookOptionsfromNbt(NbtCompound nbt)static RecipeBookOptionsfromPacket(PacketByteBuf buf)inthashCode()booleanisFilteringCraftable(RecipeBookCategory category)booleanisGuiOpen(RecipeBookCategory category)voidsetFilteringCraftable(RecipeBookCategory category, boolean filtering)voidsetGuiOpen(RecipeBookCategory category, boolean open)voidtoPacket(PacketByteBuf buf)voidwriteNbt(NbtCompound nbt)
-
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 official aLafi;a:Ljava/util/Map;intermediary field_25735Lnet/minecraft/class_5411;field_25735:Ljava/util/Map;named CATEGORY_OPTION_NAMESLnet/minecraft/recipe/book/RecipeBookOptions;CATEGORY_OPTION_NAMES:Ljava/util/Map;
-
categoryOptions
- Mappings:
Namespace Name Mixin selector official bLafi;b:Ljava/util/Map;intermediary field_25736Lnet/minecraft/class_5411;field_25736:Ljava/util/Map;named categoryOptionsLnet/minecraft/recipe/book/RecipeBookOptions;categoryOptions:Ljava/util/Map;
-
-
Constructor Details
-
RecipeBookOptions
private RecipeBookOptions(Map<RecipeBookCategory,RecipeBookOptions.CategoryOption> categoryOptions)- Mappings:
Namespace Name Mixin selector official <init>Lafi;<init>(Ljava/util/Map;)Vintermediary <init>Lnet/minecraft/class_5411;<init>(Ljava/util/Map;)Vnamed <init>Lnet/minecraft/recipe/book/RecipeBookOptions;<init>(Ljava/util/Map;)V
-
RecipeBookOptions
public RecipeBookOptions()
-
-
Method Details
-
isGuiOpen
- Mappings:
Namespace Name Mixin selector official aLafi;a(Lbnt;)Zintermediary method_30180Lnet/minecraft/class_5411;method_30180(Lnet/minecraft/class_5421;)Znamed isGuiOpenLnet/minecraft/recipe/book/RecipeBookOptions;isGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
-
setGuiOpen
- Mappings:
Namespace Name Mixin selector official aLafi;a(Lbnt;Z)Vintermediary method_30181Lnet/minecraft/class_5411;method_30181(Lnet/minecraft/class_5421;Z)Vnamed setGuiOpenLnet/minecraft/recipe/book/RecipeBookOptions;setGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
-
isFilteringCraftable
- Mappings:
Namespace Name Mixin selector official bLafi;b(Lbnt;)Zintermediary method_30187Lnet/minecraft/class_5411;method_30187(Lnet/minecraft/class_5421;)Znamed isFilteringCraftableLnet/minecraft/recipe/book/RecipeBookOptions;isFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
-
setFilteringCraftable
- Mappings:
Namespace Name Mixin selector official bLafi;b(Lbnt;Z)Vintermediary method_30188Lnet/minecraft/class_5411;method_30188(Lnet/minecraft/class_5421;Z)Vnamed setFilteringCraftableLnet/minecraft/recipe/book/RecipeBookOptions;setFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
-
fromPacket
- Mappings:
Namespace Name Mixin selector official aLafi;a(Log;)Lafi;intermediary method_30186Lnet/minecraft/class_5411;method_30186(Lnet/minecraft/class_2540;)Lnet/minecraft/class_5411;named fromPacketLnet/minecraft/recipe/book/RecipeBookOptions;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/recipe/book/RecipeBookOptions;
-
toPacket
- Mappings:
Namespace Name Mixin selector official bLafi;b(Log;)Vintermediary method_30190Lnet/minecraft/class_5411;method_30190(Lnet/minecraft/class_2540;)Vnamed toPacketLnet/minecraft/recipe/book/RecipeBookOptions;toPacket(Lnet/minecraft/network/PacketByteBuf;)V
-
fromNbt
- Mappings:
Namespace Name Mixin selector official aLafi;a(Lna;)Lafi;intermediary method_30183Lnet/minecraft/class_5411;method_30183(Lnet/minecraft/class_2487;)Lnet/minecraft/class_5411;named fromNbtLnet/minecraft/recipe/book/RecipeBookOptions;fromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/recipe/book/RecipeBookOptions;
-
writeNbt
- Mappings:
Namespace Name Mixin selector official bLafi;b(Lna;)Vintermediary method_30189Lnet/minecraft/class_5411;method_30189(Lnet/minecraft/class_2487;)Vnamed writeNbtLnet/minecraft/recipe/book/RecipeBookOptions;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
copy
- Mappings:
Namespace Name Mixin selector official aLafi;a()Lafi;intermediary method_30178Lnet/minecraft/class_5411;method_30178()Lnet/minecraft/class_5411;named copyLnet/minecraft/recipe/book/RecipeBookOptions;copy()Lnet/minecraft/recipe/book/RecipeBookOptions;
-
copyFrom
- Mappings:
Namespace Name Mixin selector official aLafi;a(Lafi;)Vintermediary method_30179Lnet/minecraft/class_5411;method_30179(Lnet/minecraft/class_5411;)Vnamed copyFromLnet/minecraft/recipe/book/RecipeBookOptions;copyFrom(Lnet/minecraft/recipe/book/RecipeBookOptions;)V
-
equals
-
hashCode
public int hashCode()
-