net.minecraft.world.item.crafting

public class RecipeManager

extends SimplePreparableReloadListener<RecipeMap> implements RecipeAccess

All mapped superinterfaces:

PreparableReloadListener, RecipeAccess

dbm
net.minecraft.world.item.crafting.RecipeManager
net.minecraft.class_1863
net.minecraft.recipe.ServerRecipeManager
net.minecraft.world.item.crafting.CraftingManager

Field summary

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

Constructor summary

ModifierConstructor
public (HolderLookup$Provider registries)

Method summary

Modifier and TypeMethod
protected RecipeMap
a(aup arg0, bou arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_64680(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
protected void
a(dbn arg0, aup arg1, bou arg2)
apply(RecipeMap arg0, ResourceManager arg1, ProfilerFiller arg2)
method_20705(class_10289 arg0, class_3300 arg1, class_3695 arg2)
apply(PreparedRecipes arg0, ResourceManager arg1, Profiler arg2)
public void
a(cru arg0)
finalizeRecipeLoading(FeatureFlagSet arg0)
method_64681(class_7699 arg0)
initialize(FeatureSet features)
static List<Ingredient>
a(cru arg0, List<dbb> arg1)
filterDisabled(FeatureFlagSet arg0, List<Ingredient> arg1)
method_64683(class_7699 arg0, List<class_1856> arg1)
filterIngredients(FeatureSet features, List<Ingredient> ingredients)
private static boolean
a(cru arg0, dbb arg1)
isIngredientEnabled(FeatureFlagSet arg0, Ingredient arg1)
method_64682(class_7699 arg0, class_1856 arg1)
isEnabled(FeatureSet features, Ingredient ingredient)
public <I extends RecipeInput, T extends Recipe<I>> Optional<RecipeHolder<T>>
a(dbq<T> arg0, I arg1, dgj arg2, aku<dbf<?>> 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)
getFirstMatch(RecipeType<T> type, I input, World world, RegistryKey<Recipe<?>> recipe)
public <I extends RecipeInput, T extends Recipe<I>> Optional<RecipeHolder<T>>
a(dbq<T> arg0, I arg1, dgj arg2, dbk<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)
public <I extends RecipeInput, T extends Recipe<I>> Optional<RecipeHolder<T>>
a(dbq<T> arg0, I arg1, dgj 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)
public Optional<RecipeHolder<?>>
b(aku<dbf<?>> arg0)
byKey(ResourceKey<Recipe<?>> arg0)
method_8130(class_5321<class_1860<?>> arg0)
get(RegistryKey<Recipe<?>> key)
private <T extends Recipe<?>> RecipeHolder<T>
a(dbq<T> arg0, aku<dbf<?>> arg1)
byKeyTyped(RecipeType<T> arg0, ResourceKey<Recipe<?>> arg1)
method_59821(class_3956<T> arg0, class_5321<class_1860<?>> arg1)
get(RecipeType<T> type, RegistryKey<Recipe<?>> key)
public Map<ResourceKey<RecipePropertySet>, RecipePropertySet>
b()
getSynchronizedItemProperties()
method_64692()
getPropertySets()
public SelectableRecipe$SingleInputSet<StonecutterRecipe>
d()
getSynchronizedStonecutterRecipes()
method_64694()
getStonecutterRecipeForSync()
public RecipePropertySet
a(aku<dbo> arg0)
propertySet(ResourceKey<RecipePropertySet> arg0)
method_64678(class_5321<class_10290> arg0)
getPropertySet(RegistryKey<RecipePropertySet> arg0)
public SelectableRecipe$SingleInputSet<StonecutterRecipe>
a()
stonecutterRecipes()
method_64677()
getStonecutterRecipes()
public Collection<RecipeHolder<?>>
e()
getRecipes()
method_8126()
values()
public RecipeManager$ServerDisplayInfo
a(dcm arg0)
getRecipeFromDisplay(RecipeDisplayId arg0)
method_64686(class_10298 arg0)
get(NetworkRecipeId id)
public void
a(aku<dbf<?>> arg0, Consumer<dcl> arg1)
listDisplaysForRecipe(ResourceKey<Recipe<?>> arg0, Consumer<RecipeDisplayEntry> arg1)
method_64679(class_5321<class_1860<?>> arg0, Consumer<class_10297> arg1)
forEachRecipeDisplay(RegistryKey<Recipe<?>> key, Consumer<RecipeDisplayEntry> action)
protected static RecipeHolder<?>
a(aku<dbf<?>> arg0, com.google.gson.JsonObject arg1, jt$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)
deserialize(RegistryKey<Recipe<?>> key, com.google.gson.JsonObject json, RegistryWrapper$WrapperLookup registries)
public static <I extends RecipeInput, T extends Recipe<I>> RecipeManager$CachedCheck<I, T>
a(dbq<T> arg0)
createCheck(RecipeType<T> arg0)
method_42302(class_3956<T> arg0)
createCachedMatchGetter(RecipeType<T> type)
private static List<RecipeManager$ServerDisplayInfo>
a(Iterable<dbk<?>> arg0, cru arg1)
unpackRecipeInfo(Iterable<RecipeHolder<?>> arg0, FeatureFlagSet arg1)
method_64688(Iterable<class_8786<?>> arg0, class_7699 arg1)
collectServerRecipes(Iterable<RecipeEntry<?>> recipes, FeatureSet enabledFeatures)
private static RecipeManager$IngredientExtractor
b(dbq<? extends dbx> arg0)
forSingleInput(RecipeType<? extends SingleItemRecipe> arg0)
method_64992(class_3956<? extends class_3972> arg0)
cookingIngredientGetter(RecipeType<? extends SingleStackRecipe> expectedType)