Package net.minecraft.recipe.book
Class RecipeBook
java.lang.Object
net.minecraft.recipe.book.RecipeBook
- Direct Known Subclasses:
ClientRecipeBook,ServerRecipeBook
- Mappings:
Namespace Name official afbintermediary net/minecraft/class_3439named net/minecraft/recipe/book/RecipeBook
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RecipeBookOptionsprotected Set<Identifier>protected 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 official aLafb;a:Ljava/util/Set;intermediary field_15300Lnet/minecraft/class_3439;field_15300:Ljava/util/Set;named recipesLnet/minecraft/recipe/book/RecipeBook;recipes:Ljava/util/Set;
-
toBeDisplayed
- Mappings:
Namespace Name Mixin selector official bLafb;b:Ljava/util/Set;intermediary field_15295Lnet/minecraft/class_3439;field_15295:Ljava/util/Set;named toBeDisplayedLnet/minecraft/recipe/book/RecipeBook;toBeDisplayed:Ljava/util/Set;
-
options
- Mappings:
Namespace Name Mixin selector official cLafb;c:Lafc;intermediary field_25734Lnet/minecraft/class_3439;field_25734:Lnet/minecraft/class_5411;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 official aLafb;a(Lafb;)Vintermediary method_14875Lnet/minecraft/class_3439;method_14875(Lnet/minecraft/class_3439;)Vnamed copyFromLnet/minecraft/recipe/book/RecipeBook;copyFrom(Lnet/minecraft/recipe/book/RecipeBook;)V
-
add
- Mappings:
Namespace Name Mixin selector official aLafb;a(Lbsr;)Vintermediary method_14876Lnet/minecraft/class_3439;method_14876(Lnet/minecraft/class_1860;)Vnamed addLnet/minecraft/recipe/book/RecipeBook;add(Lnet/minecraft/recipe/Recipe;)V
-
add
- Mappings:
Namespace Name Mixin selector official aLafb;a(Lwr;)Vintermediary method_14881Lnet/minecraft/class_3439;method_14881(Lnet/minecraft/class_2960;)Vnamed addLnet/minecraft/recipe/book/RecipeBook;add(Lnet/minecraft/util/Identifier;)V
-
contains
- Mappings:
Namespace Name Mixin selector official bLafb;b(Lbsr;)Zintermediary method_14878Lnet/minecraft/class_3439;method_14878(Lnet/minecraft/class_1860;)Znamed containsLnet/minecraft/recipe/book/RecipeBook;contains(Lnet/minecraft/recipe/Recipe;)Z
-
contains
- Mappings:
Namespace Name Mixin selector official bLafb;b(Lwr;)Zintermediary method_22845Lnet/minecraft/class_3439;method_22845(Lnet/minecraft/class_2960;)Znamed containsLnet/minecraft/recipe/book/RecipeBook;contains(Lnet/minecraft/util/Identifier;)Z
-
remove
- Mappings:
Namespace Name Mixin selector official cLafb;c(Lbsr;)Vintermediary method_14893Lnet/minecraft/class_3439;method_14893(Lnet/minecraft/class_1860;)Vnamed removeLnet/minecraft/recipe/book/RecipeBook;remove(Lnet/minecraft/recipe/Recipe;)V
-
remove
- Mappings:
Namespace Name Mixin selector official cLafb;c(Lwr;)Vintermediary method_14879Lnet/minecraft/class_3439;method_14879(Lnet/minecraft/class_2960;)Vnamed removeLnet/minecraft/recipe/book/RecipeBook;remove(Lnet/minecraft/util/Identifier;)V
-
shouldDisplay
- Mappings:
Namespace Name Mixin selector official dLafb;d(Lbsr;)Zintermediary method_14883Lnet/minecraft/class_3439;method_14883(Lnet/minecraft/class_1860;)Znamed shouldDisplayLnet/minecraft/recipe/book/RecipeBook;shouldDisplay(Lnet/minecraft/recipe/Recipe;)Z
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector official eLafb;e(Lbsr;)Vintermediary method_14886Lnet/minecraft/class_3439;method_14886(Lnet/minecraft/class_1860;)Vnamed onRecipeDisplayedLnet/minecraft/recipe/book/RecipeBook;onRecipeDisplayed(Lnet/minecraft/recipe/Recipe;)V
-
display
- Mappings:
Namespace Name Mixin selector official fLafb;f(Lbsr;)Vintermediary method_14885Lnet/minecraft/class_3439;method_14885(Lnet/minecraft/class_1860;)Vnamed displayLnet/minecraft/recipe/book/RecipeBook;display(Lnet/minecraft/recipe/Recipe;)V
-
display
- Mappings:
Namespace Name Mixin selector official dLafb;d(Lwr;)Vintermediary method_14877Lnet/minecraft/class_3439;method_14877(Lnet/minecraft/class_2960;)Vnamed displayLnet/minecraft/recipe/book/RecipeBook;display(Lnet/minecraft/util/Identifier;)V
-
isGuiOpen
- Mappings:
Namespace Name Mixin selector official aLafb;a(Lbnd;)Zintermediary method_14887Lnet/minecraft/class_3439;method_14887(Lnet/minecraft/class_5421;)Znamed isGuiOpenLnet/minecraft/recipe/book/RecipeBook;isGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
-
setGuiOpen
- Mappings:
Namespace Name Mixin selector official aLafb;a(Lbnd;Z)Vintermediary method_14884Lnet/minecraft/class_3439;method_14884(Lnet/minecraft/class_5421;Z)Vnamed setGuiOpenLnet/minecraft/recipe/book/RecipeBook;setGuiOpen(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
-
isFilteringCraftable
- Mappings:
Namespace Name Mixin selector official aLafb;a(Lbnc;)Zintermediary method_14880Lnet/minecraft/class_3439;method_14880(Lnet/minecraft/class_1729;)Znamed isFilteringCraftableLnet/minecraft/recipe/book/RecipeBook;isFilteringCraftable(Lnet/minecraft/screen/AbstractRecipeScreenHandler;)Z
-
isFilteringCraftable
- Mappings:
Namespace Name Mixin selector official bLafb;b(Lbnd;)Zintermediary method_30176Lnet/minecraft/class_3439;method_30176(Lnet/minecraft/class_5421;)Znamed isFilteringCraftableLnet/minecraft/recipe/book/RecipeBook;isFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;)Z
-
setFilteringCraftable
- Mappings:
Namespace Name Mixin selector official bLafb;b(Lbnd;Z)Vintermediary method_30177Lnet/minecraft/class_3439;method_30177(Lnet/minecraft/class_5421;Z)Vnamed setFilteringCraftableLnet/minecraft/recipe/book/RecipeBook;setFilteringCraftable(Lnet/minecraft/recipe/book/RecipeBookCategory;Z)V
-
setOptions
- Mappings:
Namespace Name Mixin selector official aLafb;a(Lafc;)Vintermediary method_30174Lnet/minecraft/class_3439;method_30174(Lnet/minecraft/class_5411;)Vnamed setOptionsLnet/minecraft/recipe/book/RecipeBook;setOptions(Lnet/minecraft/recipe/book/RecipeBookOptions;)V
-
getOptions
- Mappings:
Namespace Name Mixin selector official aLafb;a()Lafc;intermediary method_30173Lnet/minecraft/class_3439;method_30173()Lnet/minecraft/class_5411;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 official aLafb;a(Lbnd;ZZ)Vintermediary method_30175Lnet/minecraft/class_3439;method_30175(Lnet/minecraft/class_5421;ZZ)Vnamed setCategoryOptionsLnet/minecraft/recipe/book/RecipeBook;setCategoryOptions(Lnet/minecraft/recipe/book/RecipeBookCategory;ZZ)V
-