net.minecraft.world.item.crafting

public class RecipeManager

extends SimplePreparableReloadListener<RecipeMap> implements RecipeAccess

All mapped superinterfaces:

PreparableReloadListener, RecipeAccess

deb
net.minecraft.world.item.crafting.RecipeManager
net.minecraft.class_1863
net.minecraft.unmapped.C_hjseusrb
net.minecraft.recipe.ServerRecipeManager
net.minecraft.recipe.RecipeManager

Field summary

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

Constructor summary

ModifierConstructor
public (HolderLookup$Provider registries)

Method summary

Modifier and TypeMethod
protected RecipeMap
a(avd arg0, bqo 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)
protected void
a(dec arg0, avd arg1, bqo 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)
public void
a(cum arg0)
finalizeRecipeLoading(FeatureFlagSet arg0)
method_64681(class_7699 arg0)
m_zjlbqobl(C_czxxrbcp arg0)
initialize(FeatureSet features)
finalizeLoading(FeatureFlagBitSet features)
static List<Ingredient>
a(cum arg0, List<ddq> 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)
private static boolean
a(cum arg0, ddq 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)
public <I extends RecipeInput, T extends Recipe<I>> Optional<RecipeHolder<T>>
a(def<T> arg0, I arg1, dja arg2, alf<ddu<?>> 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)
public <I extends RecipeInput, T extends Recipe<I>> Optional<RecipeHolder<T>>
a(def<T> arg0, I arg1, dja arg2, ddz<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 arg1, World world, RecipeHolder<T> value)
public <I extends RecipeInput, T extends Recipe<I>> Optional<RecipeHolder<T>>
a(def<T> arg0, I arg1, dja 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)
public Optional<RecipeHolder<?>>
b(alf<ddu<?>> 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)
private <T extends Recipe<?>> RecipeHolder<T>
a(def<T> arg0, alf<ddu<?>> 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)
public Map<ResourceKey<RecipePropertySet>, RecipePropertySet>
b()
getSynchronizedItemProperties()
method_64692()
m_pmavtcuv()
getPropertySets()
getSynchronizedPropertySets()
public SelectableRecipe$SingleInputSet<StonecutterRecipe>
d()
getSynchronizedStonecutterRecipes()
method_64694()
m_vdaiapfc()
getStonecutterRecipeForSync()
getSynchronizedStonecuttingRecipes()
public RecipePropertySet
a(alf<ded> 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)
public SelectableRecipe$SingleInputSet<StonecutterRecipe>
a()
stonecutterRecipes()
method_64677()
m_yajapjwu()
getStonecutterRecipes()
getStonecuttingRecipes()
public Collection<RecipeHolder<?>>
e()
getRecipes()
method_8126()
m_vrjdrstk()
values()
getRecipes()
public RecipeManager$ServerDisplayInfo
a(dfc arg0)
getRecipeFromDisplay(RecipeDisplayId arg0)
method_64686(class_10298 arg0)
m_rjyhicja(C_tglmjehp arg0)
get(NetworkRecipeId id)
get(RecipeDisplayId display)
public void
a(alf<ddu<?>> arg0, Consumer<dfb> 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)
protected static RecipeHolder<?>
a(alf<ddu<?>> arg0, com.google.gson.JsonObject arg1, jg$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)
public static <I extends RecipeInput, T extends Recipe<I>> RecipeManager$CachedCheck<I, T>
a(def<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)
private static List<RecipeManager$ServerDisplayInfo>
a(Iterable<ddz<?>> arg0, cum 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)
private static RecipeManager$IngredientExtractor
b(def<? extends dem> 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)