net.minecraft.recipe

public class PreparedRecipes

net.minecraft.world.item.crafting.RecipeMap
net.minecraft.class_10289
net.minecraft.recipe.PreparedRecipes

Field summary

Modifier and TypeField
public static final PreparedRecipes
EMPTY
field_54643
EMPTY
private final com.google.common.collect.Multimap<RecipeType<?>, RecipeEntry<?>>
byType
field_54644
byType
private final Map<RegistryKey<Recipe<?>>, RecipeEntry<?>>
byKey
field_54645
byKey

Constructor summary

ModifierConstructor
private (com.google.common.collect.Multimap<RecipeType<?>, RecipeEntry<?>> byType, Map<RegistryKey<Recipe<?>>, RecipeEntry<?>> byKey)

Method summary

Modifier and TypeMethod
public static PreparedRecipes
create(Iterable<RecipeHolder<?>> recipes)
method_64700(Iterable<class_8786<?>> arg0)
of(Iterable<RecipeEntry<?>> recipes)
public <I extends RecipeInput, T extends Recipe<I>> Collection<RecipeEntry<T>>
byType(RecipeType<T> type)
method_64698(class_3956<T> arg0)
getAll(RecipeType<T> type)
public Collection<RecipeEntry<?>>
values()
method_64695()
recipes()
public RecipeEntry<?>
byKey(ResourceKey<Recipe<?>> recipeId)
method_64696(class_5321<class_1860<?>> arg0)
get(RegistryKey<Recipe<?>> key)
public <I extends RecipeInput, T extends Recipe<I>> Stream<RecipeEntry<T>>
getRecipesFor(RecipeType<T> type, I container, Level level)
method_64699(class_3956<T> arg0, I arg1, class_1937 arg2)
find(RecipeType<T> type, I input, World world)
private static boolean
lambda$getRecipesFor$0(RecipeInput arg0, Level arg1, RecipeHolder arg2)
method_64697(class_9695 arg0, class_1937 arg1, class_8786 arg2)
method_64697(RecipeInput arg0, World arg1, RecipeEntry entry)