Class RecipeCollection
java.lang.Object
net.minecraft.client.gui.screens.recipebook.RecipeCollection
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set
<RecipeDisplayId> static final RecipeCollection
private final List
<RecipeDisplayEntry> private final Set
<RecipeDisplayId> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSelectedRecipes
(RecipeCollection.CraftableStatus pCraftableStatus) boolean
boolean
boolean
isCraftable
(RecipeDisplayId pRecipe) void
selectRecipes
(StackedItemContents pStackedItemContents, Predicate<RecipeDisplay> pFilter)
-
Field Details
-
EMPTY
-
entries
-
craftable
-
selected
-
-
Constructor Details
-
RecipeCollection
-
-
Method Details
-
selectRecipes
public void selectRecipes(StackedItemContents pStackedItemContents, Predicate<RecipeDisplay> pFilter) -
isCraftable
-
hasCraftable
public boolean hasCraftable() -
hasAnySelected
public boolean hasAnySelected() -
getRecipes
-
getSelectedRecipes
public List<RecipeDisplayEntry> getSelectedRecipes(RecipeCollection.CraftableStatus pCraftableStatus)
-