net.minecraft.world.item.crafting

public class RecipeCache

cza
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(dcw arg0, cyp arg1)
get(Level arg0, CraftingInput arg1)
method_54470(class_1937 arg0, class_9694 arg1)
getRecipe(World world, CraftingRecipeInput input)
m_304754_(C_1596_ p_342819_, C_336435_ arg1)
private void
a(dcw arg0)
validateRecipeManager(Level arg0)
method_54469(class_1937 arg0)
validateRecipeManager(World world)
m_305555_(C_1596_ arg0)
private Optional<RecipeHolder<CraftingRecipe>>
a(cyp arg0, dcw arg1)
compute(CraftingInput arg0, Level arg1)
method_54468(class_9694 arg0, class_1937 arg1)
getAndCacheRecipe(CraftingRecipeInput input, World world)
m_307507_(C_336435_ 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(cyp arg0, czb<cyq> arg1)
insert(CraftingInput arg0, RecipeHolder<CraftingRecipe> arg1)
method_54471(class_9694 arg0, class_8786<class_3955> arg1)
cache(CraftingRecipeInput input, RecipeEntry<CraftingRecipe> recipe)
m_307800_(C_336435_ p_330177_, C_290175_<C_1457_> arg1)