net.minecraft.world.item.crafting

public class RecipeManager

extends SimpleJsonResourceReloadListener

All mapped superinterfaces:

PreparableReloadListener

cza
net.minecraft.world.item.crafting.RecipeManager
net.minecraft.class_1863
net.minecraft.recipe.RecipeManager
net.minecraft.src.C_1470_
net.minecraft.world.item.crafting.CraftingManager

Field summary

Modifier and TypeField
private static final com.google.gson.Gson
a
GSON
field_19359
GSON
f_44005_
private static final org.slf4j.Logger
b
LOGGER
field_9027
LOGGER
f_44006_
private final HolderLookup$Provider
c
registries
field_48848
registryLookup
f_314854_
private com.google.common.collect.Multimap<RecipeType<?>, RecipeHolder<?>>
d
byType
field_51481
recipesByType
f_316587_
private Map<ResourceLocation, RecipeHolder<?>>
e
byName
field_36308
recipesById
f_199900_
private boolean
f
hasErrors
field_9024
errored
f_44008_

Constructor summary

ModifierConstructor
public (HolderLookup$Provider registryLookup)

Method summary

Modifier and TypeMethod
protected void
a(Map<alf, com.google.gson.JsonElement> arg0, aup arg1, bnk arg2)
apply(Map<ResourceLocation, com.google.gson.JsonElement> arg0, ResourceManager arg1, ProfilerFiller arg2)
method_20705(Map<class_2960, com.google.gson.JsonElement> arg0, class_3300 arg1, class_3695 arg2)
apply(Map<Identifier, com.google.gson.JsonElement> arg0, ResourceManager arg1, Profiler arg2)
m_5787_(Map<C_5265_, com.google.gson.JsonElement> p_44038_, C_77_ p_44039_, C_442_ arg2)
public boolean
a()
hadErrorsLoading()
method_35227()
isErrored()
m_151269_()
public <C extends Container, T extends Recipe<C>> Optional<RecipeHolder<T>>
a(czc<T> arg0, C arg1, dca arg2)
getRecipeFor(RecipeType<T> arg0, C arg1, Level arg2)
method_8132(class_3956<T> arg0, C arg1, class_1937 arg2)
getFirstMatch(RecipeType<T> type, C inventory, World world)
m_44015_(C_1472_<T> p_44017_, C p_44018_, C_1596_ arg2)
public <C extends Container, T extends Recipe<C>> Optional<RecipeHolder<T>>
a(czc<T> arg0, C arg1, dca arg2, alf arg3)
getRecipeFor(RecipeType<T> arg0, C arg1, Level arg2, ResourceLocation arg3)
method_42299(class_3956<T> arg0, C arg1, class_1937 arg2, class_2960 arg3)
getFirstMatch(RecipeType<T> type, C inventory, World world, Identifier id)
m_220248_(C_1472_<T> p_220250_, C p_220251_, C_1596_ p_220252_, C_5265_ arg3)
public <C extends Container, T extends Recipe<C>> List<RecipeHolder<T>>
a(czc<T> arg0)
getAllRecipesFor(RecipeType<T> arg0)
method_30027(class_3956<T> arg0)
listAllOfType(RecipeType<T> type)
m_44013_(C_1472_<T> arg0)
public <C extends Container, T extends Recipe<C>> List<RecipeHolder<T>>
b(czc<T> arg0, C arg1, dca arg2)
getRecipesFor(RecipeType<T> arg0, C arg1, Level arg2)
method_17877(class_3956<T> arg0, C arg1, class_1937 arg2)
getAllMatches(RecipeType<T> type, C inventory, World world)
m_44056_(C_1472_<T> p_44058_, C p_44059_, C_1596_ arg2)
private <C extends Container, T extends Recipe<C>> Collection<RecipeHolder<T>>
c(czc<T> arg0)
byType(RecipeType<T> arg0)
method_17717(class_3956<T> arg0)
getAllOfType(RecipeType<T> type)
m_44054_(C_1472_<T> arg0)
public <C extends Container, T extends Recipe<C>> NonNullList<ItemStack>
c(czc<T> arg0, C arg1, dca arg2)
getRemainingItemsFor(RecipeType<T> arg0, C arg1, Level arg2)
method_8128(class_3956<T> arg0, C arg1, class_1937 arg2)
getRemainingStacks(RecipeType<T> type, C inventory, World world)
m_44069_(C_1472_<T> p_44071_, C p_44072_, C_1596_ arg2)
public Optional<RecipeHolder<?>>
a(alf arg0)
byKey(ResourceLocation arg0)
method_8130(class_2960 arg0)
get(Identifier id)
m_44043_(C_5265_ arg0)
private <T extends Recipe<?>> RecipeHolder<T>
a(czc<T> arg0, alf arg1)
byKeyTyped(RecipeType<T> arg0, ResourceLocation arg1)
method_59821(class_3956<T> arg0, class_2960 arg1)
get(RecipeType<T> type, Identifier id)
m_320711_(C_1472_<T> p_335282_, C_5265_ arg1)
public Collection<RecipeHolder<?>>
b()
getOrderedRecipes()
method_59822()
sortedValues()
m_323867_()
public Collection<RecipeHolder<?>>
d()
getRecipes()
method_8126()
values()
m_44051_()
public Stream<ResourceLocation>
e()
getRecipeIds()
method_8127()
keys()
m_44073_()
protected static RecipeHolder<?>
a(alf arg0, com.google.gson.JsonObject arg1, jk$a arg2)
fromJson(ResourceLocation arg0, com.google.gson.JsonObject arg1, HolderLookup$Provider arg2)
method_17720(class_2960 arg0, com.google.gson.JsonObject arg1, class_7225$class_7874 arg2)
deserialize(Identifier id, com.google.gson.JsonObject json, RegistryWrapper$WrapperLookup registryLookup)
m_44045_(C_5265_ p_44046_, com.google.gson.JsonObject p_44047_, C_213466_$C_254607_ p_328308_)
public void
a(Iterable<cyz<?>> arg0)
replaceRecipes(Iterable<RecipeHolder<?>> arg0)
method_20702(Iterable<class_8786<?>> arg0)
setRecipes(Iterable<RecipeEntry<?>> recipes)
m_44024_(Iterable<C_290175_<?>> arg0)
public static <C extends Container, T extends Recipe<C>> RecipeManager$CachedCheck<C, T>
b(czc<T> arg0)
createCheck(RecipeType<T> arg0)
method_42302(class_3956<T> arg0)
createCachedMatchGetter(RecipeType<T> type)
m_220267_(C_1472_<T> p_220268_)