net.minecraft.world.item.crafting

public class RecipeManager

extends SimpleJsonResourceReloadListener

All mapped superinterfaces:

PreparableReloadListener

cml
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 Map<RecipeType<?>, Map<ResourceLocation, RecipeHolder<?>>>
c
recipes
field_9023
recipes
f_44007_
private Map<ResourceLocation, RecipeHolder<?>>
d
byName
field_36308
recipesById
f_199900_
private boolean
e
hasErrors
field_9024
errored
f_44008_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected void
a(Map<aew, com.google.gson.JsonElement> arg0, ant arg1, bdp 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(cmn<T> arg0, C arg1, cpv 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<com.mojang.datafixers.util.Pair<ResourceLocation, RecipeHolder<T>>>
a(cmn<T> arg0, C arg1, cpv arg2, aew 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(cmn<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(cmn<T> arg0, C arg1, cpv 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>> Map<ResourceLocation, RecipeHolder<T>>
c(cmn<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(cmn<T> arg0, C arg1, cpv 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(aew arg0)
byKey(ResourceLocation arg0)
method_8130(class_2960 arg0)
get(Identifier id)
m_44043_(C_5265_ arg0)
public Collection<RecipeHolder<?>>
b()
getRecipes()
method_8126()
values()
m_44051_()
public Stream<ResourceLocation>
d()
getRecipeIds()
method_8127()
keys()
m_44073_()
protected static RecipeHolder<?>
a(aew arg0, com.google.gson.JsonObject arg1)
fromJson(ResourceLocation arg0, com.google.gson.JsonObject arg1)
method_17720(class_2960 arg0, com.google.gson.JsonObject arg1)
deserialize(Identifier id, com.google.gson.JsonObject json)
m_44045_(C_5265_ p_44046_, com.google.gson.JsonObject p_44047_)
public void
a(Iterable<cmk<?>> 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(cmn<T> arg0)
createCheck(RecipeType<T> arg0)
method_42302(class_3956<T> arg0)
createCachedMatchGetter(RecipeType<T> type)
m_220267_(C_1472_<T> p_220268_)