Package net.minecraft.item.crafting
Class RecipeBook
- java.lang.Object
-
- net.minecraft.item.crafting.RecipeBook
-
- Direct Known Subclasses:
ClientRecipeBook
,ServerRecipeBook
public class RecipeBook extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private RecipeBookStatus
bookSettings
protected java.util.Set<ResourceLocation>
highlight
protected java.util.Set<ResourceLocation>
known
-
Constructor Summary
Constructors Constructor Description RecipeBook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(IRecipe<?> p_194073_1_)
protected void
add(ResourceLocation p_209118_1_)
void
addHighlight(IRecipe<?> p_193825_1_)
protected void
addHighlight(ResourceLocation p_209120_1_)
boolean
contains(IRecipe<?> p_193830_1_)
boolean
contains(ResourceLocation p_226144_1_)
void
copyOverData(RecipeBook p_193824_1_)
RecipeBookStatus
getBookSettings()
boolean
isFiltering(RecipeBookContainer<?> p_242141_1_)
boolean
isFiltering(RecipeBookCategory p_242145_1_)
boolean
isOpen(RecipeBookCategory p_242142_1_)
void
remove(IRecipe<?> p_193831_1_)
protected void
remove(ResourceLocation p_209119_1_)
void
removeHighlight(IRecipe<?> p_194074_1_)
void
setBookSetting(RecipeBookCategory p_242144_1_, boolean p_242144_2_, boolean p_242144_3_)
void
setBookSettings(RecipeBookStatus p_242140_1_)
void
setFiltering(RecipeBookCategory p_242146_1_, boolean p_242146_2_)
void
setOpen(RecipeBookCategory p_242143_1_, boolean p_242143_2_)
boolean
willHighlight(IRecipe<?> p_194076_1_)
-
-
-
Field Detail
-
known
protected final java.util.Set<ResourceLocation> known
-
highlight
protected final java.util.Set<ResourceLocation> highlight
-
bookSettings
private final RecipeBookStatus bookSettings
-
-
Method Detail
-
copyOverData
public void copyOverData(RecipeBook p_193824_1_)
-
add
public void add(IRecipe<?> p_194073_1_)
-
add
protected void add(ResourceLocation p_209118_1_)
-
contains
public boolean contains(@Nullable IRecipe<?> p_193830_1_)
-
contains
public boolean contains(ResourceLocation p_226144_1_)
-
remove
public void remove(IRecipe<?> p_193831_1_)
-
remove
protected void remove(ResourceLocation p_209119_1_)
-
willHighlight
public boolean willHighlight(IRecipe<?> p_194076_1_)
-
removeHighlight
public void removeHighlight(IRecipe<?> p_194074_1_)
-
addHighlight
public void addHighlight(IRecipe<?> p_193825_1_)
-
addHighlight
protected void addHighlight(ResourceLocation p_209120_1_)
-
isOpen
public boolean isOpen(RecipeBookCategory p_242142_1_)
-
setOpen
public void setOpen(RecipeBookCategory p_242143_1_, boolean p_242143_2_)
-
isFiltering
public boolean isFiltering(RecipeBookContainer<?> p_242141_1_)
-
isFiltering
public boolean isFiltering(RecipeBookCategory p_242145_1_)
-
setFiltering
public void setFiltering(RecipeBookCategory p_242146_1_, boolean p_242146_2_)
-
setBookSettings
public void setBookSettings(RecipeBookStatus p_242140_1_)
-
getBookSettings
public RecipeBookStatus getBookSettings()
-
setBookSetting
public void setBookSetting(RecipeBookCategory p_242144_1_, boolean p_242144_2_, boolean p_242144_3_)
-
-