net.minecraft.world.item.crafting

public class RecipeManager

extends SimplePreparableReloadListener<RecipeMap> implements RecipeAccess

All mapped superinterfaces:

PreparableReloadListener, RecipeAccess

dcl
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 final HolderLookup$Provider
c
registries
field_54637
registries
private RecipeMap
d
recipes
field_54638
preparedRecipes
private Map<ResourceKey<RecipePropertySet>, RecipePropertySet>
e
propertySets
field_54639
propertySets
private SelectableRecipe$SingleInputSet<StonecutterRecipe>
f
stonecutterRecipes
field_54640
stonecutterRecipes
private List<RecipeManager$ServerDisplayInfo>
g
allDisplays
field_54641
recipes
private Map<ResourceKey<Recipe<?>>, List<RecipeManager$ServerDisplayInfo>>
h
recipeToDisplay
field_54642
recipesByKey

Constructor summary

ModifierConstructor
public (HolderLookup$Provider registries)

Method summary

Modifier and TypeMethod
protected RecipeMap
a(avv arg0, bpt arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_64680(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
protected void
a(dcm arg0, avv arg1, bpt 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(cst arg0)
finalizeRecipeLoading(FeatureFlagSet arg0)
method_64681(class_7699 arg0)
initialize(FeatureSet features)
static List<Ingredient>
a(cst arg0, List<dca> 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(cst arg0, dca 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(dcp<T> arg0, I arg1, dhi arg2, aly<dce<?>> 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(dcp<T> arg0, I arg1, dhi arg2, dcj<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(dcp<T> arg0, I arg1, dhi 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(aly<dce<?>> arg0)
byKey(ResourceKey<Recipe<?>> arg0)
method_8130(class_5321<class_1860<?>> arg0)
get(RegistryKey<Recipe<?>> key)
private <T extends Recipe<?>> RecipeHolder<T>
a(dcp<T> arg0, aly<dce<?>> 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(aly<dcn> 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(ddl arg0)
getRecipeFromDisplay(RecipeDisplayId arg0)
method_64686(class_10298 arg0)
get(NetworkRecipeId id)
public void
a(aly<dce<?>> arg0, Consumer<ddk> 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(aly<dce<?>> 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)
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(dcp<T> arg0)
createCheck(RecipeType<T> arg0)
method_42302(class_3956<T> arg0)
createCachedMatchGetter(RecipeType<T> type)
private static List<RecipeManager$ServerDisplayInfo>
a(Iterable<dcj<?>> arg0, cst 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(dcp<? extends dcw> arg0)
forSingleInput(RecipeType<? extends SingleItemRecipe> arg0)
method_64992(class_3956<? extends class_3972> arg0)
cookingIngredientGetter(RecipeType<? extends SingleStackRecipe> expectedType)