net.minecraft.world.item.crafting

public class RecipeManager

extends SimpleJsonResourceReloadListener

All mapped superinterfaces:

PreparableReloadListener

cct
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, Recipe<?>>>
c
recipes
field_9023
recipes
f_44007_
private Map<ResourceLocation, Recipe<?>>
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<aaj, com.google.gson.JsonElement> arg0, ahu arg1, awc 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<T>
a(ccv<T> arg0, C arg1, cga 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, T>>
a(ccv<T> arg0, C arg1, cga arg2, aaj 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<T>
a(ccv<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<T>
b(ccv<T> arg0, C arg1, cga 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, T>
c(ccv<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(ccv<T> arg0, C arg1, cga 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<? extends Recipe<?>>
a(aaj arg0)
byKey(ResourceLocation arg0)
method_8130(class_2960 arg0)
get(Identifier id)
m_44043_(C_5265_ arg0)
public Collection<Recipe<?>>
b()
getRecipes()
method_8126()
values()
m_44051_()
public Stream<ResourceLocation>
d()
getRecipeIds()
method_8127()
keys()
m_44073_()
public static Recipe<?>
a(aaj 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<ccs<?>> arg0)
replaceRecipes(Iterable<Recipe<?>> arg0)
method_20702(Iterable<class_1860<?>> arg0)
setRecipes(Iterable<Recipe<?>> recipes)
m_44024_(Iterable<C_1469_<?>> arg0)
public static <C extends Container, T extends Recipe<C>> RecipeManager$CachedCheck<C, T>
b(ccv<T> arg0)
createCheck(RecipeType<T> arg0)
method_42302(class_3956<T> arg0)
createCachedMatchGetter(RecipeType<T> type)
m_220267_(C_1472_<T> p_220268_)