public class RecipeBook extends Object
| Modifier and Type | Field and Description |
|---|---|
private class_5411 |
field_25734 |
protected Set<Identifier> |
recipes |
protected Set<Identifier> |
toBeDisplayed |
| Constructor and Description |
|---|
RecipeBook() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(Identifier id) |
void |
add(Recipe<?> recipe) |
boolean |
contains(Identifier id) |
boolean |
contains(Recipe<?> recipe) |
void |
copyFrom(RecipeBook book) |
protected void |
display(Identifier id) |
void |
display(Recipe<?> recipe) |
boolean |
isFilteringCraftable(AbstractRecipeScreenHandler<?> abstractRecipeScreenHandler) |
boolean |
isGuiOpen(class_5421 class_5421) |
class_5411 |
method_30173() |
void |
method_30174(class_5411 class_5411) |
void |
method_30175(class_5421 class_5421,
boolean bool,
boolean bool2) |
boolean |
method_30176(class_5421 class_5421) |
void |
method_30177(class_5421 class_5421,
boolean bool) |
void |
onRecipeDisplayed(Recipe<?> recipe) |
protected void |
remove(Identifier id) |
void |
remove(Recipe<?> recipe) |
void |
setGuiOpen(class_5421 class_5421,
boolean bool) |
boolean |
shouldDisplay(Recipe<?> recipe) |
protected final Set<Identifier> recipes
protected final Set<Identifier> toBeDisplayed
private final class_5411 field_25734
public void copyFrom(RecipeBook book)
public void add(Recipe<?> recipe)
protected void add(Identifier id)
public boolean contains(Identifier id)
@Environment(value=CLIENT) public void remove(Recipe<?> recipe)
protected void remove(Identifier id)
@Environment(value=CLIENT) public boolean shouldDisplay(Recipe<?> recipe)
public void onRecipeDisplayed(Recipe<?> recipe)
public void display(Recipe<?> recipe)
protected void display(Identifier id)
@Environment(value=CLIENT) public boolean isGuiOpen(class_5421 class_5421)
@Environment(value=CLIENT) public void setGuiOpen(class_5421 class_5421, boolean bool)
@Environment(value=CLIENT) public boolean isFilteringCraftable(AbstractRecipeScreenHandler<?> abstractRecipeScreenHandler)
@Environment(value=CLIENT) public boolean method_30176(class_5421 class_5421)
@Environment(value=CLIENT) public void method_30177(class_5421 class_5421, boolean bool)
public void method_30174(class_5411 class_5411)
public class_5411 method_30173()
public void method_30175(class_5421 class_5421, boolean bool, boolean bool2)