net.minecraft.client.gui.screens.recipebook

public class RecipeCollection

fgt
net.minecraft.client.gui.screens.recipebook.RecipeCollection
net.minecraft.class_516
net.minecraft.client.gui.screen.recipebook.RecipeResultCollection
net.minecraft.src.C_3722_

Field summary

Modifier and TypeField
private final RegistryAccess
a
registryAccess
field_42069
registryManager
f_265919_
private final List<RecipeHolder<?>>
b
recipes
field_3144
recipes
f_100491_
private final boolean
c
singleResultItem
field_3148
singleOutput
f_100492_
private final Set<RecipeHolder<?>>
d
craftable
field_3146
craftableRecipes
f_100493_
private final Set<RecipeHolder<?>>
e
fitsDimensions
field_3145
fittingRecipes
f_100494_
private final Set<RecipeHolder<?>>
f
known
field_3147
unlockedRecipes
f_100495_

Constructor summary

ModifierConstructor
public (RegistryAccess registryManager, List<RecipeHolder<?>> recipes)

Method summary

Modifier and TypeMethod
private static boolean
a(iu arg0, List<cqe<?>> arg1)
allRecipesHaveSameResult(RegistryAccess arg0, List<RecipeHolder<?>> arg1)
method_30295(class_5455 arg0, List<class_8786<?>> arg1)
shouldHaveSingleOutput(DynamicRegistryManager registryManager, List<RecipeEntry<?>> recipes)
m_100508_(C_4706_ p_267210_, List<C_290175_<?>> p_100509_)
public RegistryAccess
a()
registryAccess()
method_48479()
getRegistryManager()
m_266543_()
public boolean
b()
hasKnownRecipes()
method_2652()
isInitialized()
m_100498_()
public void
a(arv arg0)
updateKnownRecipes(RecipeBook arg0)
method_2647(class_3439 arg0)
initialize(RecipeBook recipeBook)
m_100499_(C_126_ arg0)
public void
a(cfm arg0, int arg1, int arg2, arv arg3)
canCraft(StackedContents arg0, int arg1, int arg2, RecipeBook arg3)
method_2649(class_1662 arg0, int arg1, int arg2, class_3439 arg3)
computeCraftables(RecipeMatcher recipeFinder, int gridWidth, int gridHeight, RecipeBook recipeBook)
m_100501_(C_1145_ p_100503_, int p_100504_, int p_100505_, C_126_ arg3)
public boolean
a(cqe<?> arg0)
isCraftable(RecipeHolder<?> arg0)
method_2653(class_8786<?> arg0)
isCraftable(RecipeEntry<?> recipe)
m_100506_(C_290175_<?> arg0)
public boolean
c()
hasCraftable()
method_2655()
hasCraftableRecipes()
m_100512_()
public boolean
d()
hasFitting()
method_2657()
hasFittingRecipes()
m_100515_()
public List<RecipeHolder<?>>
e()
getRecipes()
method_2650()
getAllRecipes()
m_100516_()
public List<RecipeHolder<?>>
a(boolean arg0)
getRecipes(boolean arg0)
method_2651(boolean arg0)
getResults(boolean craftableOnly)
m_100510_(boolean arg0)
public List<RecipeHolder<?>>
b(boolean arg0)
getDisplayRecipes(boolean arg0)
method_2648(boolean arg0)
getRecipes(boolean craftable)
m_100513_(boolean arg0)
public boolean
f()
hasSingleResultItem()
method_2656()
hasSingleOutput()
m_100517_()