Class RecipeCollection
java.lang.Object
net.minecraft.client.gui.screens.recipebook.RecipeCollection
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Set<RecipeHolder<?>>
private final Set<RecipeHolder<?>>
private final Set<RecipeHolder<?>>
private final List<RecipeHolder<?>>
private final RegistryAccess
private final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
allRecipesHaveSameResult
(RegistryAccess p_267210_, List<RecipeHolder<?>> p_100509_) void
canCraft
(StackedContents p_100502_, int p_100503_, int p_100504_, RecipeBook p_100505_) List<RecipeHolder<?>>
getDisplayRecipes
(boolean p_100514_) List<RecipeHolder<?>>
List<RecipeHolder<?>>
getRecipes
(boolean p_100511_) boolean
boolean
boolean
boolean
boolean
isCraftable
(RecipeHolder<?> p_301083_) 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<RecipeHolder<?>> 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()
-