net.minecraft.world.item.crafting

public class RecipeCache

cyy
net.minecraft.world.item.crafting.RecipeCache
net.minecraft.class_8884
net.minecraft.recipe.RecipeCache
net.minecraft.src.C_302102_
net.minecraft.world.item.crafting.RecipeCache

Field summary

Modifier and TypeField
private final RecipeCache$Entry[]
a
entries
field_46792
cache
f_302788_
private WeakReference<RecipeManager>
b
cachedRecipeManager
field_46793
recipeManagerRef
f_302546_

Constructor summary

ModifierConstructor
public (int size)

Method summary

Modifier and TypeMethod
public Optional<RecipeHolder<CraftingRecipe>>
a(dca arg0, cqm arg1)
get(Level arg0, CraftingContainer arg1)
method_54470(class_1937 arg0, class_8566 arg1)
getRecipe(World world, RecipeInputInventory inputInventory)
m_304754_(C_1596_ p_310846_, C_1251_ arg1)
private void
a(dca arg0)
validateRecipeManager(Level arg0)
method_54469(class_1937 arg0)
validateRecipeManager(World world)
m_305555_(C_1596_ arg0)
private Optional<RecipeHolder<CraftingRecipe>>
a(cqm arg0, dca arg1)
compute(CraftingContainer arg0, Level arg1)
method_54468(class_8566 arg0, class_1937 arg1)
getAndCacheRecipe(RecipeInputInventory inputInventory, World world)
m_307507_(C_1251_ p_309968_, C_1596_ arg1)
private void
a(int arg0)
moveEntryToFront(int arg0)
method_54467(int arg0)
sendToFront(int index)
m_306919_(int arg0)
private void
a(List<cur> arg0, cyz<cyo> arg1)
insert(List<ItemStack> arg0, RecipeHolder<CraftingRecipe> arg1)
method_54471(List<class_1799> arg0, class_8786<class_3955> arg1)
cache(List<ItemStack> inputStacks, RecipeEntry<CraftingRecipe> recipe)
m_307800_(List<C_1391_> p_330177_, C_290175_<C_1457_> arg1)