net.minecraft.world.item.crafting

public class RecipeManager

extends SimplePreparableReloadListener<RecipeMap> implements RecipeAccess

All mapped superinterfaces:

PreparableReloadListener, RecipeAccess

dck
net.minecraft.world.item.crafting.RecipeManager
net.minecraft.class_1863
net.minecraft.unmapped.C_hjseusrb
net.minecraft.recipe.ServerRecipeManager
net.minecraft.recipe.RecipeManager
net.minecraft.src.C_1470_
net.minecraft.world.item.crafting.RecipeInput

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_9027
f_hqaaykcp
LOGGER
LOGGER
f_44006_
private static final Map<ResourceKey<RecipePropertySet>, RecipeManager$IngredientExtractor>
b
RECIPE_PROPERTY_SETS
field_54897
f_kczkpctf
SOLE_INGREDIENT_GETTERS
RECIPE_PROPERTY_SETS
f_347382_
private final HolderLookup$Provider
c
registries
field_54637
f_cfijlewf
registries
registries
f_314854_
private RecipeMap
d
recipes
field_54638
f_qlhewmmf
preparedRecipes
recipes
f_346395_
private Map<ResourceKey<RecipePropertySet>, RecipePropertySet>
e
propertySets
field_54639
f_lwdpgeem
propertySets
propertySets
f_348877_
private SelectableRecipe$SingleInputSet<StonecutterRecipe>
f
stonecutterRecipes
field_54640
f_sbxhtycx
stonecutterRecipes
stonecuttingRecipes
f_347679_
private List<RecipeManager$ServerDisplayInfo>
g
allDisplays
field_54641
f_avfppxeg
recipes
displays
f_346240_
private Map<ResourceKey<Recipe<?>>, List<RecipeManager$ServerDisplayInfo>>
h
recipeToDisplay
field_54642
f_yzfonsti
recipesByKey
displayByRecipe
f_346716_

Constructor summary

ModifierConstructor
public (HolderLookup$Provider registries)

Method summary

Modifier and TypeMethod
protected RecipeMap
a(avv arg0, bps arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_64680(class_3300 arg0, class_3695 arg1)
m_vjbcbgny(C_tmnrpasf arg0, C_eslcbfsq arg1)
prepare(ResourceManager arg0, Profiler arg1)
prepare(ResourceManager resourceManager, Profiler profiler)
m_5944_(C_77_ p_361102_, C_442_ arg1)
protected void
a(dcl arg0, avv arg1, bps arg2)
apply(RecipeMap arg0, ResourceManager arg1, ProfilerFiller arg2)
method_20705(class_10289 arg0, class_3300 arg1, class_3695 arg2)
m_qwhkywli(C_rrkbzyqf arg0, C_tmnrpasf arg1, C_eslcbfsq arg2)
apply(PreparedRecipes arg0, ResourceManager arg1, Profiler arg2)
apply(RecipeMap arg0, ResourceManager resourceManager, Profiler profiler)
m_5787_(C_346183_ p_44038_, C_77_ p_44039_, C_442_ arg2)
public void
a(css arg0)
finalizeRecipeLoading(FeatureFlagSet arg0)
method_64681(class_7699 arg0)
m_zjlbqobl(C_czxxrbcp arg0)
initialize(FeatureSet features)
finalizeLoading(FeatureFlagBitSet features)
m_352914_(C_243488_ arg0)
static List<Ingredient>
a(css arg0, List<dbz> arg1)
filterDisabled(FeatureFlagSet arg0, List<Ingredient> arg1)
method_64683(class_7699 arg0, List<class_1856> arg1)
m_enpjndth(C_czxxrbcp arg0, List<C_tcpsydrv> arg1)
filterIngredients(FeatureSet features, List<Ingredient> ingredients)
filterDisabled(FeatureFlagBitSet features, List<Ingredient> ingredients)
m_354133_(C_243488_ p_369580_, List<C_1462_> p_367920_)
private static boolean
a(css arg0, dbz arg1)
isIngredientEnabled(FeatureFlagSet arg0, Ingredient arg1)
method_64682(class_7699 arg0, class_1856 arg1)
m_tziaudbn(C_czxxrbcp arg0, C_tcpsydrv arg1)
isEnabled(FeatureSet features, Ingredient ingredient)
isEnabled(FeatureFlagBitSet features, Ingredient ingredient)
m_353965_(C_243488_ p_361535_, C_1462_ p_369900_)
public <I extends RecipeInput, T extends Recipe<I>> Optional<RecipeHolder<T>>
a(dco<T> arg0, I arg1, dhh arg2, aly<dcd<?>> arg3)
getRecipeFor(RecipeType<T> arg0, I arg1, Level arg2, ResourceKey<Recipe<?>> arg3)
method_42299(class_3956<T> arg0, I arg1, class_1937 arg2, class_5321<class_1860<?>> arg3)
m_yhwkrsrr(C_rhnqznys<T> arg0, I arg1, C_cdctfzbn arg2, C_xhhleach<C_awrmdwqd<?>> arg3)
getFirstMatch(RecipeType<T> type, I input, World world, RegistryKey<Recipe<?>> recipe)
getFirstMatch(RecipeType<T> type, I input, World world, RegistryKey<Recipe<?>> key)
m_220248_(C_1472_<T> p_344518_, I p_220251_, C_1596_ p_361142_, C_5264_<C_1469_<?>> arg3)
public <I extends RecipeInput, T extends Recipe<I>> Optional<RecipeHolder<T>>
a(dco<T> arg0, I arg1, dhh arg2, dci<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)
m_igyegyvq(C_rhnqznys<T> arg0, I arg1, C_cdctfzbn arg2, C_dscbrwbj<T> arg3)
getFirstMatch(RecipeType<T> type, I input, World world, RecipeEntry<T> recipe)
getFirstMatch(RecipeType<T> type, I input, World world, RecipeHolder<T> value)
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>> Optional<RecipeHolder<T>>
a(dco<T> arg0, I arg1, dhh arg2)
getRecipeFor(RecipeType<T> arg0, I arg1, Level arg2)
method_8132(class_3956<T> arg0, I arg1, class_1937 arg2)
m_omtmmszf(C_rhnqznys<T> arg0, I arg1, C_cdctfzbn arg2)
getFirstMatch(RecipeType<T> type, I input, World world)
getFirstMatch(RecipeType<T> type, I input, World world)
m_44015_(C_1472_<T> p_344358_, I p_44018_, C_1596_ arg2)
public Optional<RecipeHolder<?>>
b(aly<dcd<?>> arg0)
byKey(ResourceKey<Recipe<?>> arg0)
method_8130(class_5321<class_1860<?>> arg0)
m_dsxpcpxk(C_xhhleach<C_awrmdwqd<?>> arg0)
get(RegistryKey<Recipe<?>> key)
get(RegistryKey<Recipe<?>> key)
m_44043_(C_5264_<C_1469_<?>> arg0)
private <T extends Recipe<?>> RecipeHolder<T>
a(dco<T> arg0, aly<dcd<?>> arg1)
byKeyTyped(RecipeType<T> arg0, ResourceKey<Recipe<?>> arg1)
method_59821(class_3956<T> arg0, class_5321<class_1860<?>> arg1)
m_jgeojtch(C_rhnqznys<T> arg0, C_xhhleach<C_awrmdwqd<?>> arg1)
get(RecipeType<T> type, RegistryKey<Recipe<?>> key)
get(RecipeType<T> type, RegistryKey<Recipe<?>> key)
m_320711_(C_1472_<T> p_367936_, C_5264_<C_1469_<?>> arg1)
public Map<ResourceKey<RecipePropertySet>, RecipePropertySet>
b()
getSynchronizedItemProperties()
method_64692()
m_pmavtcuv()
getPropertySets()
getSynchronizedPropertySets()
m_351610_()
public SelectableRecipe$SingleInputSet<StonecutterRecipe>
d()
getSynchronizedStonecutterRecipes()
method_64694()
m_vdaiapfc()
getStonecutterRecipeForSync()
getSynchronizedStonecuttingRecipes()
m_355529_()
public RecipePropertySet
a(aly<dcm> arg0)
propertySet(ResourceKey<RecipePropertySet> arg0)
method_64678(class_5321<class_10290> arg0)
m_kdokqbcz(C_xhhleach<C_jgqrwysz> arg0)
getPropertySet(RegistryKey<RecipePropertySet> arg0)
getPropertySet(RegistryKey<RecipePropertySet> arg0)
m_353891_(C_5264_<C_345775_> arg0)
public SelectableRecipe$SingleInputSet<StonecutterRecipe>
a()
stonecutterRecipes()
method_64677()
m_yajapjwu()
getStonecutterRecipes()
getStonecuttingRecipes()
m_352810_()
public Collection<RecipeHolder<?>>
e()
getRecipes()
method_8126()
m_vrjdrstk()
values()
getRecipes()
m_44051_()
public RecipeManager$ServerDisplayInfo
a(ddk arg0)
getRecipeFromDisplay(RecipeDisplayId arg0)
method_64686(class_10298 arg0)
m_rjyhicja(C_tglmjehp arg0)
get(NetworkRecipeId id)
get(RecipeDisplayId display)
m_354858_(C_346030_ arg0)
public void
a(aly<dcd<?>> arg0, Consumer<ddj> arg1)
listDisplaysForRecipe(ResourceKey<Recipe<?>> arg0, Consumer<RecipeDisplayEntry> arg1)
method_64679(class_5321<class_1860<?>> arg0, Consumer<class_10297> arg1)
m_wzltkytn(C_xhhleach<C_awrmdwqd<?>> arg0, Consumer<C_dsptsoym> arg1)
forEachRecipeDisplay(RegistryKey<Recipe<?>> key, Consumer<RecipeDisplayEntry> action)
forEachDisplay(RegistryKey<Recipe<?>> key, Consumer<RecipeDisplayEntry> consumer)
m_357033_(C_5264_<C_1469_<?>> p_368559_, Consumer<C_345726_> arg1)
protected static RecipeHolder<?>
a(aly<dcd<?>> arg0, com.google.gson.JsonObject arg1, js$a arg2)
fromJson(ResourceKey<Recipe<?>> arg0, com.google.gson.JsonObject arg1, HolderLookup$Provider arg2)
method_17720(class_5321<class_1860<?>> arg0, com.google.gson.JsonObject arg1, class_7225$class_7874 arg2)
m_hcqenhtt(C_xhhleach<C_awrmdwqd<?>> arg0, com.google.gson.JsonObject arg1, C_vtbxyypo$C_etmlgbig arg2)
deserialize(RegistryKey<Recipe<?>> key, com.google.gson.JsonObject json, RegistryWrapper$WrapperLookup registries)
deserialize(RegistryKey<Recipe<?>> id, com.google.gson.JsonObject json, HolderLookup$Provider lookupProvider)
m_44045_(C_5264_<C_1469_<?>> p_366256_, com.google.gson.JsonObject p_44047_, C_213466_$C_254607_ p_328308_)
public static <I extends RecipeInput, T extends Recipe<I>> RecipeManager$CachedCheck<I, T>
a(dco<T> arg0)
createCheck(RecipeType<T> arg0)
method_42302(class_3956<T> arg0)
m_oqvxqpcm(C_rhnqznys<T> arg0)
createCachedMatchGetter(RecipeType<T> type)
createCheck(RecipeType<T> type)
m_220267_(C_1472_<T> p_220268_)
private static List<RecipeManager$ServerDisplayInfo>
a(Iterable<dci<?>> arg0, css arg1)
unpackRecipeInfo(Iterable<RecipeHolder<?>> arg0, FeatureFlagSet arg1)
method_64688(Iterable<class_8786<?>> arg0, class_7699 arg1)
m_zvzhojlr(Iterable<C_dscbrwbj<?>> arg0, C_czxxrbcp arg1)
collectServerRecipes(Iterable<RecipeEntry<?>> recipes, FeatureSet enabledFeatures)
collectDisplayInfo(Iterable<RecipeHolder<?>> recipes, FeatureFlagBitSet features)
m_351620_(Iterable<C_290175_<?>> p_361848_, C_243488_ p_362319_)
private static RecipeManager$IngredientExtractor
b(dco<? extends dcv> arg0)
forSingleInput(RecipeType<? extends SingleItemRecipe> arg0)
method_64992(class_3956<? extends class_3972> arg0)
m_cuobwmoj(C_rhnqznys<? extends C_ziizojwa> arg0)
cookingIngredientGetter(RecipeType<? extends SingleStackRecipe> expectedType)
createExtractorForSingleItemRecipe(RecipeType<? extends SingleItemRecipe> type)
m_357081_(C_1472_<? extends C_1486_> p_361054_)