Package net.minecraft.recipe.book
Class RecipeBook
java.lang.Object
net.minecraft.recipe.book.RecipeBook
- Direct Known Subclasses:
ClientRecipeBook
,ServerRecipeBook
public class RecipeBook extends Object
- Mappings:
Namespace Name official aej
intermediary net/minecraft/class_3439
named net/minecraft/recipe/book/RecipeBook
-
Field Summary
Fields Modifier and Type Field Description private RecipeBookOptions
options
protected Set<Identifier>
recipes
protected Set<Identifier>
toBeDisplayed
-
Constructor Summary
Constructors Constructor Description RecipeBook()
-
Method Summary
Modifier and Type Method Description void
add(Recipe<?> recipe)
protected void
add(Identifier id)
boolean
contains(Recipe<?> recipe)
boolean
contains(Identifier id)
void
copyFrom(RecipeBook book)
void
display(Recipe<?> recipe)
protected void
display(Identifier id)
RecipeBookOptions
getOptions()
boolean
isFilteringCraftable(RecipeBookCategory category)
boolean
isFilteringCraftable(AbstractRecipeScreenHandler<?> handler)
boolean
isGuiOpen(RecipeBookCategory category)
void
onRecipeDisplayed(Recipe<?> recipe)
void
remove(Recipe<?> 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(Recipe<?> recipe)
-
Field Details
-
recipes
- Mappings:
Namespace Name Mixin selector official a
Laej;a:Ljava/util/Set;
intermediary field_15300
Lnet/minecraft/class_3439;field_15300:Ljava/util/Set;
named recipes
Lnet/minecraft/recipe/book/RecipeBook;recipes:Ljava/util/Set;
-
toBeDisplayed
- Mappings:
Namespace Name Mixin selector official b
Laej;b:Ljava/util/Set;
intermediary field_15295
Lnet/minecraft/class_3439;field_15295:Ljava/util/Set;
named toBeDisplayed
Lnet/minecraft/recipe/book/RecipeBook;toBeDisplayed:Ljava/util/Set;
-
options
- Mappings:
Namespace Name Mixin selector official c
Laej;c:Laek;
intermediary field_25734
Lnet/minecraft/class_3439;field_25734:Lnet/minecraft/class_5411;
named options
Lnet/minecraft/recipe/book/RecipeBook;options:Lnet/minecraft/recipe/book/RecipeBookOptions;
-
-
Constructor Details
-
RecipeBook
public RecipeBook()
-
-
Method Details
-
copyFrom
- Mappings:
Namespace Name Mixin selector official a
Laej;a(Laej;)V
intermediary method_14875
Lnet/minecraft/class_3439;method_14875(Lnet/minecraft/class_3439;)V
named copyFrom
Lnet/minecraft/recipe/book/RecipeBook;copyFrom(Lnet/minecraft/recipe/book/RecipeBook;)V
-
add
- Mappings:
Namespace Name Mixin selector official a
Laej;a(Lbqn;)V
intermediary method_14876
Lnet/minecraft/class_3439;method_14876(Lnet/minecraft/class_1860;)V
named add
Lnet/minecraft/recipe/book/RecipeBook;add(Lnet/minecraft/recipe/Recipe;)V
-
add
- Mappings:
Namespace Name Mixin selector official a
Laej;a(Lwb;)V
intermediary method_14881
Lnet/minecraft/class_3439;method_14881(Lnet/minecraft/class_2960;)V
named add
Lnet/minecraft/recipe/book/RecipeBook;add(Lnet/minecraft/util/Identifier;)V
-
contains
- Mappings:
Namespace Name Mixin selector official b
Laej;b(Lbqn;)Z
intermediary method_14878
Lnet/minecraft/class_3439;method_14878(Lnet/minecraft/class_1860;)Z
named contains
Lnet/minecraft/recipe/book/RecipeBook;contains(Lnet/minecraft/recipe/Recipe;)Z
-
contains
- Mappings:
Namespace Name Mixin selector official b
Laej;b(Lwb;)Z
intermediary method_22845
Lnet/minecraft/class_3439;method_22845(Lnet/minecraft/class_2960;)Z
named contains
Lnet/minecraft/recipe/book/RecipeBook;contains(Lnet/minecraft/util/Identifier;)Z
-
remove
- Mappings:
Namespace Name Mixin selector official c
Laej;c(Lbqn;)V
intermediary method_14893
Lnet/minecraft/class_3439;method_14893(Lnet/minecraft/class_1860;)V
named remove
Lnet/minecraft/recipe/book/RecipeBook;remove(Lnet/minecraft/recipe/Recipe;)V
-
remove
- Mappings:
Namespace Name Mixin selector official c
Laej;c(Lwb;)V
intermediary method_14879
Lnet/minecraft/class_3439;method_14879(Lnet/minecraft/class_2960;)V
named remove
Lnet/minecraft/recipe/book/RecipeBook;remove(Lnet/minecraft/util/Identifier;)V
-
shouldDisplay
- Mappings:
Namespace Name Mixin selector official d
Laej;d(Lbqn;)Z
intermediary method_14883
Lnet/minecraft/class_3439;method_14883(Lnet/minecraft/class_1860;)Z
named shouldDisplay
Lnet/minecraft/recipe/book/RecipeBook;shouldDisplay(Lnet/minecraft/recipe/Recipe;)Z
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector official e
Laej;e(Lbqn;)V
intermediary method_14886
Lnet/minecraft/class_3439;method_14886(Lnet/minecraft/class_1860;)V
named onRecipeDisplayed
Lnet/minecraft/recipe/book/RecipeBook;onRecipeDisplayed(Lnet/minecraft/recipe/Recipe;)V
-
display
- Mappings:
Namespace Name Mixin selector official f
Laej;f(Lbqn;)V
intermediary method_14885
Lnet/minecraft/class_3439;method_14885(Lnet/minecraft/class_1860;)V
named display
Lnet/minecraft/recipe/book/RecipeBook;display(Lnet/minecraft/recipe/Recipe;)V
-
display
- Mappings:
Namespace Name Mixin selector official d
Laej;d(Lwb;)V
intermediary method_14877
Lnet/minecraft/class_3439;method_14877(Lnet/minecraft/class_2960;)V
named display
Lnet/minecraft/recipe/book/RecipeBook;display(Lnet/minecraft/util/Identifier;)V
-
isGuiOpen
- Mappings:
Namespace Name Mixin selector official a
Laej;a(Lbla;)Z
intermediary method_14887
Lnet/minecraft/class_3439;method_14887(Lnet/minecraft/class_5421;)Z
named isGuiOpen
Lnet/minecraft/recipe/book/RecipeBook;isGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
-
setGuiOpen
- Mappings:
Namespace Name Mixin selector official a
Laej;a(Lbla;Z)V
intermediary method_14884
Lnet/minecraft/class_3439;method_14884(Lnet/minecraft/class_5421;Z)V
named setGuiOpen
Lnet/minecraft/recipe/book/RecipeBook;setGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
-
isFilteringCraftable
- Mappings:
Namespace Name Mixin selector official a
Laej;a(Lbkz;)Z
intermediary method_14880
Lnet/minecraft/class_3439;method_14880(Lnet/minecraft/class_1729;)Z
named isFilteringCraftable
Lnet/minecraft/recipe/book/RecipeBook;isFilteringCraftable(Lnet/minecraft/screen/AbstractRecipeScreenHandler;)Z
-
isFilteringCraftable
- Mappings:
Namespace Name Mixin selector official b
Laej;b(Lbla;)Z
intermediary method_30176
Lnet/minecraft/class_3439;method_30176(Lnet/minecraft/class_5421;)Z
named isFilteringCraftable
Lnet/minecraft/recipe/book/RecipeBook;isFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
-
setFilteringCraftable
@Environment(CLIENT) public void setFilteringCraftable(RecipeBookCategory category, boolean filteringCraftable)- Mappings:
Namespace Name Mixin selector official b
Laej;b(Lbla;Z)V
intermediary method_30177
Lnet/minecraft/class_3439;method_30177(Lnet/minecraft/class_5421;Z)V
named setFilteringCraftable
Lnet/minecraft/recipe/book/RecipeBook;setFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
-
setOptions
- Mappings:
Namespace Name Mixin selector official a
Laej;a(Laek;)V
intermediary method_30174
Lnet/minecraft/class_3439;method_30174(Lnet/minecraft/class_5411;)V
named setOptions
Lnet/minecraft/recipe/book/RecipeBook;setOptions(Lnet/minecraft/recipe/book/RecipeBookOptions;)V
-
getOptions
- Mappings:
Namespace Name Mixin selector official a
Laej;a()Laek;
intermediary method_30173
Lnet/minecraft/class_3439;method_30173()Lnet/minecraft/class_5411;
named getOptions
Lnet/minecraft/recipe/book/RecipeBook;getOptions()Lnet/minecraft/recipe/book/RecipeBookOptions;
-
setCategoryOptions
public void setCategoryOptions(RecipeBookCategory category, boolean guiOpen, boolean filteringCraftable)- Mappings:
Namespace Name Mixin selector official a
Laej;a(Lbla;ZZ)V
intermediary method_30175
Lnet/minecraft/class_3439;method_30175(Lnet/minecraft/class_5421;ZZ)V
named setCategoryOptions
Lnet/minecraft/recipe/book/RecipeBook;setCategoryOptions(Lnet/minecraft/recipe/book/RecipeBookCategory;ZZ)V
-