net.minecraft.world.item.crafting

public class RecipeManager

extends SimpleJsonResourceReloadListener

All mapped superinterfaces:

PreparableReloadListener

czd
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<akr, com.google.gson.JsonElement> arg0, aue arg1, bnf 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 <I extends RecipeInput, T extends Recipe<I>> Optional<RecipeHolder<T>>
a(czf<T> arg0, I arg1, dcw arg2)
getRecipeFor(RecipeType<T> arg0, I arg1, Level arg2)
method_8132(class_3956<T> arg0, I arg1, class_1937 arg2)
getFirstMatch(RecipeType<T> type, I input, World world)
m_44015_(C_1472_<T> p_344358_, I p_44018_, C_1596_ arg2)
public <I extends RecipeInput, T extends Recipe<I>> Optional<RecipeHolder<T>>
a(czf<T> arg0, I arg1, dcw arg2, akr arg3)
getRecipeFor(RecipeType<T> arg0, I arg1, Level arg2, ResourceLocation arg3)
method_42299(class_3956<T> arg0, I arg1, class_1937 arg2, class_2960 arg3)
getFirstMatch(RecipeType<T> type, I input, World world, Identifier id)
m_220248_(C_1472_<T> p_344518_, I p_220251_, C_1596_ p_220252_, C_5265_ arg3)
public <I extends RecipeInput, T extends Recipe<I>> Optional<RecipeHolder<T>>
a(czf<T> arg0, I arg1, dcw arg2, czb<T> arg3)
getRecipeFor(RecipeType<T> arg0, I arg1, Level arg2, RecipeHolder<T> arg3)
method_59993(class_3956<T> arg0, I arg1, class_1937 arg2, class_8786<T> arg3)
getFirstMatch(RecipeType<T> type, I input, World world, RecipeEntry<T> recipe)
m_339836_(C_1472_<T> p_342793_, I p_344483_, C_1596_ p_345187_, C_290175_<T> arg3)
public <I extends RecipeInput, T extends Recipe<I>> List<RecipeHolder<T>>
a(czf<T> arg0)
getAllRecipesFor(RecipeType<T> arg0)
method_30027(class_3956<T> arg0)
listAllOfType(RecipeType<T> type)
m_44013_(C_1472_<T> arg0)
public <I extends RecipeInput, T extends Recipe<I>> List<RecipeHolder<T>>
b(czf<T> arg0, I arg1, dcw arg2)
getRecipesFor(RecipeType<T> arg0, I arg1, Level arg2)
method_17877(class_3956<T> arg0, I arg1, class_1937 arg2)
getAllMatches(RecipeType<T> type, I input, World world)
m_44056_(C_1472_<T> p_345126_, I p_44059_, C_1596_ arg2)
private <I extends RecipeInput, T extends Recipe<I>> Collection<RecipeHolder<T>>
c(czf<T> arg0)
byType(RecipeType<T> arg0)
method_17717(class_3956<T> arg0)
getAllOfType(RecipeType<T> type)
m_44054_(C_1472_<T> arg0)
public <I extends RecipeInput, T extends Recipe<I>> NonNullList<ItemStack>
c(czf<T> arg0, I arg1, dcw arg2)
getRemainingItemsFor(RecipeType<T> arg0, I arg1, Level arg2)
method_8128(class_3956<T> arg0, I arg1, class_1937 arg2)
getRemainingStacks(RecipeType<T> type, I input, World world)
m_44069_(C_1472_<T> p_345480_, I p_44072_, C_1596_ arg2)
public Optional<RecipeHolder<?>>
a(akr arg0)
byKey(ResourceLocation arg0)
method_8130(class_2960 arg0)
get(Identifier id)
m_44043_(C_5265_ arg0)
private <T extends Recipe<?>> RecipeHolder<T>
a(czf<T> arg0, akr 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(akr arg0, com.google.gson.JsonObject arg1, jo$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<czb<?>> arg0)
replaceRecipes(Iterable<RecipeHolder<?>> arg0)
method_20702(Iterable<class_8786<?>> arg0)
setRecipes(Iterable<RecipeEntry<?>> recipes)
m_44024_(Iterable<C_290175_<?>> arg0)
public static <I extends RecipeInput, T extends Recipe<I>> RecipeManager$CachedCheck<I, T>
b(czf<T> arg0)
createCheck(RecipeType<T> arg0)
method_42302(class_3956<T> arg0)
createCachedMatchGetter(RecipeType<T> type)
m_220267_(C_1472_<T> p_220268_)