Package net.minecraft.recipe.book
Class RecipeBook
java.lang.Object
net.minecraft.recipe.book.RecipeBook
- Direct Known Subclasses:
ClientRecipeBook,ServerRecipeBook
- Mappings:
Namespace Name intermediary net/minecraft/class_3439official amknamed net/minecraft/recipe/book/RecipeBook
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RecipeBookOptionsprotected final Set<Identifier>protected final Set<Identifier> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidadd(Identifier id) booleanbooleancontains(Identifier id) voidcopyFrom(RecipeBook book) voidprotected voiddisplay(Identifier id) booleanisFilteringCraftable(RecipeBookCategory category) booleanisFilteringCraftable(AbstractRecipeScreenHandler<?> handler) booleanisGuiOpen(RecipeBookCategory category) voidonRecipeDisplayed(Recipe<?> recipe) voidprotected voidremove(Identifier id) voidsetCategoryOptions(RecipeBookCategory category, boolean guiOpen, boolean filteringCraftable) voidsetFilteringCraftable(RecipeBookCategory category, boolean filteringCraftable) voidsetGuiOpen(RecipeBookCategory category, boolean open) voidsetOptions(RecipeBookOptions options) booleanshouldDisplay(Recipe<?> recipe)
-
Field Details
-
recipes
- Mappings:
Namespace Name Mixin selector intermediary field_15300Lnet/minecraft/class_3439;field_15300:Ljava/util/Set;official aLamk;a:Ljava/util/Set;named recipesLnet/minecraft/recipe/book/RecipeBook;recipes:Ljava/util/Set;
-
toBeDisplayed
- Mappings:
Namespace Name Mixin selector intermediary field_15295Lnet/minecraft/class_3439;field_15295:Ljava/util/Set;official bLamk;b:Ljava/util/Set;named toBeDisplayedLnet/minecraft/recipe/book/RecipeBook;toBeDisplayed:Ljava/util/Set;
-
options
- Mappings:
Namespace Name Mixin selector intermediary field_25734Lnet/minecraft/class_3439;field_25734:Lnet/minecraft/class_5411;official cLamk;c:Laml;named optionsLnet/minecraft/recipe/book/RecipeBook;options:Lnet/minecraft/recipe/book/RecipeBookOptions;
-
-
Constructor Details
-
RecipeBook
public RecipeBook()
-
-
Method Details
-
copyFrom
- Mappings:
Namespace Name Mixin selector intermediary method_14875Lnet/minecraft/class_3439;method_14875(Lnet/minecraft/class_3439;)Vofficial aLamk;a(Lamk;)Vnamed copyFromLnet/minecraft/recipe/book/RecipeBook;copyFrom(Lnet/minecraft/recipe/book/RecipeBook;)V
-
add
- Mappings:
Namespace Name Mixin selector intermediary method_14876Lnet/minecraft/class_3439;method_14876(Lnet/minecraft/class_1860;)Vofficial aLamk;a(Lcja;)Vnamed addLnet/minecraft/recipe/book/RecipeBook;add(Lnet/minecraft/recipe/Recipe;)V
-
add
- Mappings:
Namespace Name Mixin selector intermediary method_14881Lnet/minecraft/class_3439;method_14881(Lnet/minecraft/class_2960;)Vofficial aLamk;a(Lacq;)Vnamed addLnet/minecraft/recipe/book/RecipeBook;add(Lnet/minecraft/util/Identifier;)V
-
contains
- Mappings:
Namespace Name Mixin selector intermediary method_14878Lnet/minecraft/class_3439;method_14878(Lnet/minecraft/class_1860;)Zofficial bLamk;b(Lcja;)Znamed containsLnet/minecraft/recipe/book/RecipeBook;contains(Lnet/minecraft/recipe/Recipe;)Z
-
contains
- Mappings:
Namespace Name Mixin selector intermediary method_22845Lnet/minecraft/class_3439;method_22845(Lnet/minecraft/class_2960;)Zofficial bLamk;b(Lacq;)Znamed containsLnet/minecraft/recipe/book/RecipeBook;contains(Lnet/minecraft/util/Identifier;)Z
-
remove
- Mappings:
Namespace Name Mixin selector intermediary method_14893Lnet/minecraft/class_3439;method_14893(Lnet/minecraft/class_1860;)Vofficial cLamk;c(Lcja;)Vnamed removeLnet/minecraft/recipe/book/RecipeBook;remove(Lnet/minecraft/recipe/Recipe;)V
-
remove
- Mappings:
Namespace Name Mixin selector intermediary method_14879Lnet/minecraft/class_3439;method_14879(Lnet/minecraft/class_2960;)Vofficial cLamk;c(Lacq;)Vnamed removeLnet/minecraft/recipe/book/RecipeBook;remove(Lnet/minecraft/util/Identifier;)V
-
shouldDisplay
- Mappings:
Namespace Name Mixin selector intermediary method_14883Lnet/minecraft/class_3439;method_14883(Lnet/minecraft/class_1860;)Zofficial dLamk;d(Lcja;)Znamed shouldDisplayLnet/minecraft/recipe/book/RecipeBook;shouldDisplay(Lnet/minecraft/recipe/Recipe;)Z
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector intermediary method_14886Lnet/minecraft/class_3439;method_14886(Lnet/minecraft/class_1860;)Vofficial eLamk;e(Lcja;)Vnamed onRecipeDisplayedLnet/minecraft/recipe/book/RecipeBook;onRecipeDisplayed(Lnet/minecraft/recipe/Recipe;)V
-
display
- Mappings:
Namespace Name Mixin selector intermediary method_14885Lnet/minecraft/class_3439;method_14885(Lnet/minecraft/class_1860;)Vofficial fLamk;f(Lcja;)Vnamed displayLnet/minecraft/recipe/book/RecipeBook;display(Lnet/minecraft/recipe/Recipe;)V
-
display
- Mappings:
Namespace Name Mixin selector intermediary method_14877Lnet/minecraft/class_3439;method_14877(Lnet/minecraft/class_2960;)Vofficial dLamk;d(Lacq;)Vnamed displayLnet/minecraft/recipe/book/RecipeBook;display(Lnet/minecraft/util/Identifier;)V
-
isGuiOpen
- Mappings:
Namespace Name Mixin selector intermediary method_14887Lnet/minecraft/class_3439;method_14887(Lnet/minecraft/class_5421;)Zofficial aLamk;a(Lcco;)Znamed isGuiOpenLnet/minecraft/recipe/book/RecipeBook;isGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
-
setGuiOpen
- Mappings:
Namespace Name Mixin selector intermediary method_14884Lnet/minecraft/class_3439;method_14884(Lnet/minecraft/class_5421;Z)Vofficial aLamk;a(Lcco;Z)Vnamed setGuiOpenLnet/minecraft/recipe/book/RecipeBook;setGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
-
isFilteringCraftable
- Mappings:
Namespace Name Mixin selector intermediary method_14880Lnet/minecraft/class_3439;method_14880(Lnet/minecraft/class_1729;)Zofficial aLamk;a(Lccn;)Znamed isFilteringCraftableLnet/minecraft/recipe/book/RecipeBook;isFilteringCraftable(Lnet/minecraft/screen/AbstractRecipeScreenHandler;)Z
-
isFilteringCraftable
- Mappings:
Namespace Name Mixin selector intermediary method_30176Lnet/minecraft/class_3439;method_30176(Lnet/minecraft/class_5421;)Zofficial bLamk;b(Lcco;)Znamed isFilteringCraftableLnet/minecraft/recipe/book/RecipeBook;isFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
-
setFilteringCraftable
- Mappings:
Namespace Name Mixin selector intermediary method_30177Lnet/minecraft/class_3439;method_30177(Lnet/minecraft/class_5421;Z)Vofficial bLamk;b(Lcco;Z)Vnamed setFilteringCraftableLnet/minecraft/recipe/book/RecipeBook;setFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
-
setOptions
- Mappings:
Namespace Name Mixin selector intermediary method_30174Lnet/minecraft/class_3439;method_30174(Lnet/minecraft/class_5411;)Vofficial aLamk;a(Laml;)Vnamed setOptionsLnet/minecraft/recipe/book/RecipeBook;setOptions(Lnet/minecraft/recipe/book/RecipeBookOptions;)V
-
getOptions
- Mappings:
Namespace Name Mixin selector intermediary method_30173Lnet/minecraft/class_3439;method_30173()Lnet/minecraft/class_5411;official aLamk;a()Laml;named getOptionsLnet/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 intermediary method_30175Lnet/minecraft/class_3439;method_30175(Lnet/minecraft/class_5421;ZZ)Vofficial aLamk;a(Lcco;ZZ)Vnamed setCategoryOptionsLnet/minecraft/recipe/book/RecipeBook;setCategoryOptions(Lnet/minecraft/recipe/book/RecipeBookCategory;ZZ)V
-