Class RecipeCollection
java.lang.Object
net.minecraft.client.gui.screens.recipebook.RecipeCollection
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
allRecipesHaveSameResult
(RegistryAccess p_267210_, List<Recipe<?>> p_100509_) void
canCraft
(StackedContents p_100502_, int p_100503_, int p_100504_, RecipeBook p_100505_) getDisplayRecipes
(boolean p_100514_) getRecipes
(boolean p_100511_) boolean
boolean
boolean
boolean
boolean
isCraftable
(Recipe<?> p_100507_) void
updateKnownRecipes
(RecipeBook p_100500_)
-
Field Details
-
registryAccess
-
recipes
-
singleResultItem
private final boolean singleResultItem -
craftable
-
fitsDimensions
-
known
-
-
Constructor Details
-
RecipeCollection
-
-
Method Details
-
allRecipesHaveSameResult
private static boolean allRecipesHaveSameResult(RegistryAccess p_267210_, List<Recipe<?>> p_100509_) -
registryAccess
-
hasKnownRecipes
public boolean hasKnownRecipes() -
updateKnownRecipes
-
canCraft
-
isCraftable
-
hasCraftable
public boolean hasCraftable() -
hasFitting
public boolean hasFitting() -
getRecipes
-
getRecipes
-
getDisplayRecipes
-
hasSingleResultItem
public boolean hasSingleResultItem()
-