Package net.minecraft.recipe.book
Class RecipeBook
java.lang.Object
net.minecraft.recipe.book.RecipeBook
- Direct Known Subclasses:
ClientRecipeBook
,ServerRecipeBook
- Mappings:
Namespace Name named net/minecraft/recipe/book/RecipeBook
intermediary net/minecraft/class_3439
official avs
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RecipeBookOptions
protected final Set
<Identifier> protected final Set
<Identifier> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(RecipeEntry<?> recipe) protected void
add
(Identifier id) boolean
contains
(@Nullable RecipeEntry<?> recipe) boolean
contains
(Identifier id) void
copyFrom
(RecipeBook book) void
display
(RecipeEntry<?> recipe) protected void
display
(Identifier id) boolean
isFilteringCraftable
(RecipeBookCategory category) boolean
isFilteringCraftable
(AbstractRecipeScreenHandler<?, ?> handler) boolean
isGuiOpen
(RecipeBookCategory category) void
onRecipeDisplayed
(RecipeEntry<?> recipe) void
remove
(RecipeEntry<?> recipe) protected void
remove
(Identifier id) void
setCategoryOptions
(RecipeBookCategory category, boolean guiOpen, boolean filteringCraftable) void
setFilteringCraftable
(RecipeBookCategory category, boolean filteringCraftable) void
setGuiOpen
(RecipeBookCategory category, boolean open) void
setOptions
(RecipeBookOptions options) boolean
shouldDisplay
(RecipeEntry<?> recipe)
-
Field Details
-
recipes
- Mappings:
Namespace Name Mixin selector named recipes
Lnet/minecraft/recipe/book/RecipeBook;recipes:Ljava/util/Set;
intermediary field_15300
Lnet/minecraft/class_3439;field_15300:Ljava/util/Set;
official a
Lavs;a:Ljava/util/Set;
-
toBeDisplayed
- Mappings:
Namespace Name Mixin selector named toBeDisplayed
Lnet/minecraft/recipe/book/RecipeBook;toBeDisplayed:Ljava/util/Set;
intermediary field_15295
Lnet/minecraft/class_3439;field_15295:Ljava/util/Set;
official b
Lavs;b:Ljava/util/Set;
-
options
- Mappings:
Namespace Name Mixin selector named options
Lnet/minecraft/recipe/book/RecipeBook;options:Lnet/minecraft/recipe/book/RecipeBookOptions;
intermediary field_25734
Lnet/minecraft/class_3439;field_25734:Lnet/minecraft/class_5411;
official c
Lavs;c:Lavt;
-
-
Constructor Details
-
RecipeBook
public RecipeBook()
-
-
Method Details
-
copyFrom
- Mappings:
Namespace Name Mixin selector named copyFrom
Lnet/minecraft/recipe/book/RecipeBook;copyFrom(Lnet/minecraft/recipe/book/RecipeBook;)V
intermediary method_14875
Lnet/minecraft/class_3439;method_14875(Lnet/minecraft/class_3439;)V
official a
Lavs;a(Lavs;)V
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/recipe/book/RecipeBook;add(Lnet/minecraft/recipe/RecipeEntry;)V
intermediary method_14876
Lnet/minecraft/class_3439;method_14876(Lnet/minecraft/class_8786;)V
official a
Lavs;a(Lczb;)V
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/recipe/book/RecipeBook;add(Lnet/minecraft/util/Identifier;)V
intermediary method_14881
Lnet/minecraft/class_3439;method_14881(Lnet/minecraft/class_2960;)V
official a
Lavs;a(Lakr;)V
-
contains
- Mappings:
Namespace Name Mixin selector named contains
Lnet/minecraft/recipe/book/RecipeBook;contains(Lnet/minecraft/recipe/RecipeEntry;)Z
intermediary method_14878
Lnet/minecraft/class_3439;method_14878(Lnet/minecraft/class_8786;)Z
official b
Lavs;b(Lczb;)Z
-
contains
- Mappings:
Namespace Name Mixin selector named contains
Lnet/minecraft/recipe/book/RecipeBook;contains(Lnet/minecraft/util/Identifier;)Z
intermediary method_22845
Lnet/minecraft/class_3439;method_22845(Lnet/minecraft/class_2960;)Z
official b
Lavs;b(Lakr;)Z
-
remove
- Mappings:
Namespace Name Mixin selector named remove
Lnet/minecraft/recipe/book/RecipeBook;remove(Lnet/minecraft/recipe/RecipeEntry;)V
intermediary method_14893
Lnet/minecraft/class_3439;method_14893(Lnet/minecraft/class_8786;)V
official c
Lavs;c(Lczb;)V
-
remove
- Mappings:
Namespace Name Mixin selector named remove
Lnet/minecraft/recipe/book/RecipeBook;remove(Lnet/minecraft/util/Identifier;)V
intermediary method_14879
Lnet/minecraft/class_3439;method_14879(Lnet/minecraft/class_2960;)V
official c
Lavs;c(Lakr;)V
-
shouldDisplay
- Mappings:
Namespace Name Mixin selector named shouldDisplay
Lnet/minecraft/recipe/book/RecipeBook;shouldDisplay(Lnet/minecraft/recipe/RecipeEntry;)Z
intermediary method_14883
Lnet/minecraft/class_3439;method_14883(Lnet/minecraft/class_8786;)Z
official d
Lavs;d(Lczb;)Z
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector named onRecipeDisplayed
Lnet/minecraft/recipe/book/RecipeBook;onRecipeDisplayed(Lnet/minecraft/recipe/RecipeEntry;)V
intermediary method_14886
Lnet/minecraft/class_3439;method_14886(Lnet/minecraft/class_8786;)V
official e
Lavs;e(Lczb;)V
-
display
- Mappings:
Namespace Name Mixin selector named display
Lnet/minecraft/recipe/book/RecipeBook;display(Lnet/minecraft/recipe/RecipeEntry;)V
intermediary method_14885
Lnet/minecraft/class_3439;method_14885(Lnet/minecraft/class_8786;)V
official f
Lavs;f(Lczb;)V
-
display
- Mappings:
Namespace Name Mixin selector named display
Lnet/minecraft/recipe/book/RecipeBook;display(Lnet/minecraft/util/Identifier;)V
intermediary method_14877
Lnet/minecraft/class_3439;method_14877(Lnet/minecraft/class_2960;)V
official d
Lavs;d(Lakr;)V
-
isGuiOpen
- Mappings:
Namespace Name Mixin selector named isGuiOpen
Lnet/minecraft/recipe/book/RecipeBook;isGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
intermediary method_14887
Lnet/minecraft/class_3439;method_14887(Lnet/minecraft/class_5421;)Z
official a
Lavs;a(Lcrj;)Z
-
setGuiOpen
- Mappings:
Namespace Name Mixin selector named setGuiOpen
Lnet/minecraft/recipe/book/RecipeBook;setGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
intermediary method_14884
Lnet/minecraft/class_3439;method_14884(Lnet/minecraft/class_5421;Z)V
official a
Lavs;a(Lcrj;Z)V
-
isFilteringCraftable
- Mappings:
Namespace Name Mixin selector named isFilteringCraftable
Lnet/minecraft/recipe/book/RecipeBook;isFilteringCraftable(Lnet/minecraft/screen/AbstractRecipeScreenHandler;)Z
intermediary method_14880
Lnet/minecraft/class_3439;method_14880(Lnet/minecraft/class_1729;)Z
official a
Lavs;a(Lcri;)Z
-
isFilteringCraftable
- Mappings:
Namespace Name Mixin selector named isFilteringCraftable
Lnet/minecraft/recipe/book/RecipeBook;isFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
intermediary method_30176
Lnet/minecraft/class_3439;method_30176(Lnet/minecraft/class_5421;)Z
official b
Lavs;b(Lcrj;)Z
-
setFilteringCraftable
- Mappings:
Namespace Name Mixin selector named setFilteringCraftable
Lnet/minecraft/recipe/book/RecipeBook;setFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
intermediary method_30177
Lnet/minecraft/class_3439;method_30177(Lnet/minecraft/class_5421;Z)V
official b
Lavs;b(Lcrj;Z)V
-
setOptions
- Mappings:
Namespace Name Mixin selector named setOptions
Lnet/minecraft/recipe/book/RecipeBook;setOptions(Lnet/minecraft/recipe/book/RecipeBookOptions;)V
intermediary method_30174
Lnet/minecraft/class_3439;method_30174(Lnet/minecraft/class_5411;)V
official a
Lavs;a(Lavt;)V
-
getOptions
- Mappings:
Namespace Name Mixin selector named getOptions
Lnet/minecraft/recipe/book/RecipeBook;getOptions()Lnet/minecraft/recipe/book/RecipeBookOptions;
intermediary method_30173
Lnet/minecraft/class_3439;method_30173()Lnet/minecraft/class_5411;
official a
Lavs;a()Lavt;
-
setCategoryOptions
public void setCategoryOptions(RecipeBookCategory category, boolean guiOpen, boolean filteringCraftable) - Mappings:
Namespace Name Mixin selector named setCategoryOptions
Lnet/minecraft/recipe/book/RecipeBook;setCategoryOptions(Lnet/minecraft/recipe/book/RecipeBookCategory;ZZ)V
intermediary method_30175
Lnet/minecraft/class_3439;method_30175(Lnet/minecraft/class_5421;ZZ)V
official a
Lavs;a(Lcrj;ZZ)V
-