net.minecraft.recipe

public class RecipeManager

extends JsonDataLoader

All mapped superinterfaces:

ResourceReloader

cgp
net.minecraft.world.item.crafting.RecipeManager
net.minecraft.class_1863
net.minecraft.recipe.RecipeManager
net.minecraft.unmapped.C_hjseusrb
net.minecraft.recipe.RecipeManager
net.minecraft.src.C_1470_

Field summary

Modifier and TypeField
private static final com.google.gson.Gson
a
GSON
field_19359
GSON
f_kwbdpvdv
GSON
f_44005_
private static final org.slf4j.Logger
b
LOGGER
field_9027
LOGGER
f_hqaaykcp
LOGGER
f_44006_
private Map<RecipeType<?>, Map<Identifier, Recipe<?>>>
c
recipes
field_9023
recipes
f_qlhewmmf
recipes
f_44007_
private Map<Identifier, Recipe<?>>
d
byName
field_36308
recipesById
f_jrpzcqji
recipeFlatMap
f_199900_
private boolean
e
hasErrors
field_9024
errored
f_yehcypye
errored
f_44008_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected void
a(Map<acf, com.google.gson.JsonElement> o, ake o, azc 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_fenzmtpr(Map<C_ncpywfca, com.google.gson.JsonElement> arg0, C_tmnrpasf arg1, C_eslcbfsq 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_xyhfuata()
isErrored()
m_151269_()
public <C extends Inventory, T extends Recipe<C>> Optional<T>
a(cgr<T> o, C o, cjw 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_gpongpgc(C_rhnqznys<T> arg0, C arg1, C_cdctfzbn 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 Inventory, T extends Recipe<C>> Optional<com.mojang.datafixers.util.Pair<Identifier, T>>
a(cgr<T> o, C o, cjw o, acf 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_iaavqdrh(C_rhnqznys<T> arg0, C arg1, C_cdctfzbn arg2, C_ncpywfca arg3)
m_iaavqdrh(RecipeType<T> type, C inventory, World world, Identifier arg3)
m_220248_(C_1472_<T> p_220250_, C p_220251_, C_1596_ p_220252_, C_5265_ arg3)
public <C extends Inventory, T extends Recipe<C>> List<T>
a(cgr<T> arg0)
getAllRecipesFor(RecipeType<T> arg0)
method_30027(class_3956<T> arg0)
listAllOfType(RecipeType<T> type)
m_ardwasqa(C_rhnqznys<T> arg0)
listAllOfType(RecipeType<T> type)
m_44013_(C_1472_<T> arg0)
public <C extends Inventory, T extends Recipe<C>> List<T>
b(cgr<T> o, C o, cjw 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_hrukhdkd(C_rhnqznys<T> arg0, C arg1, C_cdctfzbn 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 Inventory, T extends Recipe<C>> Map<Identifier, T>
c(cgr<T> arg0)
byType(RecipeType<T> arg0)
method_17717(class_3956<T> arg0)
getAllOfType(RecipeType<T> type)
m_xkivhqgi(C_rhnqznys<T> arg0)
getAllOfType(RecipeType<T> type)
m_44054_(C_1472_<T> arg0)
public <C extends Inventory, T extends Recipe<C>> DefaultedList<ItemStack>
c(cgr<T> o, C o, cjw 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_pgjmabyy(C_rhnqznys<T> arg0, C arg1, C_cdctfzbn arg2)
getRemainingStacks(RecipeType<T> type, C inventory, World world)
m_44069_(C_1472_<T> p_44071_, C p_44072_, C_1596_ arg2)
public Optional<? extends Recipe<?>>
a(acf arg0)
byKey(ResourceLocation arg0)
method_8130(class_2960 arg0)
get(Identifier id)
m_dsxpcpxk(C_ncpywfca arg0)
get(Identifier id)
m_44043_(C_5265_ arg0)
public Collection<Recipe<?>>
b()
getRecipes()
method_8126()
values()
m_vrjdrstk()
values()
m_44051_()
public Stream<Identifier>
d()
getRecipeIds()
method_8127()
keys()
m_tfsmuhjx()
keys()
m_44073_()
public static Recipe<?>
a(acf o, com.google.gson.JsonObject o)
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_hcqenhtt(C_ncpywfca 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<cgo<?>> arg0)
replaceRecipes(Iterable<Recipe<?>> arg0)
method_20702(Iterable<class_1860<?>> arg0)
setRecipes(Iterable<Recipe<?>> recipes)
m_tkniqwbe(Iterable<C_awrmdwqd<?>> arg0)
setRecipes(Iterable<Recipe<?>> recipes)
m_44024_(Iterable<C_1469_<?>> arg0)
public static <C extends Inventory, T extends Recipe<C>> RecipeManager$MatchGetter<C, T>
b(cgr<T> o)
createCheck(RecipeType<T> arg0)
method_42302(class_3956<T> arg0)
createCachedMatchGetter(RecipeType<T> type)
m_oqvxqpcm(C_rhnqznys<T> arg0)
m_220267_(C_1472_<T> p_220268_)