Package net.minecraft.recipe
Class PreparedRecipes
java.lang.Object
net.minecraft.recipe.PreparedRecipes
- Mappings:
Namespace Name named net/minecraft/recipe/PreparedRecipesintermediary net/minecraft/class_10289official dbn
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<RegistryKey<Recipe<?>>, RecipeEntry<?>> private final Multimap<RecipeType<?>, RecipeEntry<?>> static final PreparedRecipes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePreparedRecipes(Multimap<RecipeType<?>, RecipeEntry<?>> byType, Map<RegistryKey<Recipe<?>>, RecipeEntry<?>> byKey) -
Method Summary
Modifier and TypeMethodDescription<I extends RecipeInput,T extends Recipe<I>>
Stream<RecipeEntry<T>> find(RecipeType<T> type, I input, World world) get(RegistryKey<Recipe<?>> key) <I extends RecipeInput,T extends Recipe<I>>
Collection<RecipeEntry<T>> getAll(RecipeType<T> type) static PreparedRecipesof(Iterable<RecipeEntry<?>> recipes) recipes()
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTYLnet/minecraft/recipe/PreparedRecipes;EMPTY:Lnet/minecraft/recipe/PreparedRecipes;intermediary field_54643Lnet/minecraft/class_10289;field_54643:Lnet/minecraft/class_10289;official aLdbn;a:Ldbn;
-
byType
- Mappings:
Namespace Name Mixin selector named byTypeLnet/minecraft/recipe/PreparedRecipes;byType:Lcom/google/common/collect/Multimap;intermediary field_54644Lnet/minecraft/class_10289;field_54644:Lcom/google/common/collect/Multimap;official bLdbn;b:Lcom/google/common/collect/Multimap;
-
byKey
- Mappings:
Namespace Name Mixin selector named byKeyLnet/minecraft/recipe/PreparedRecipes;byKey:Ljava/util/Map;intermediary field_54645Lnet/minecraft/class_10289;field_54645:Ljava/util/Map;official cLdbn;c:Ljava/util/Map;
-
-
Constructor Details
-
PreparedRecipes
private PreparedRecipes(Multimap<RecipeType<?>, RecipeEntry<?>> byType, Map<RegistryKey<Recipe<?>>, RecipeEntry<?>> byKey) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/recipe/PreparedRecipes;<init>(Lcom/google/common/collect/Multimap;Ljava/util/Map;)Vintermediary <init>Lnet/minecraft/class_10289;<init>(Lcom/google/common/collect/Multimap;Ljava/util/Map;)Vofficial <init>Ldbn;<init>(Lcom/google/common/collect/Multimap;Ljava/util/Map;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/recipe/PreparedRecipes;of(Ljava/lang/Iterable;)Lnet/minecraft/recipe/PreparedRecipes;intermediary method_64700Lnet/minecraft/class_10289;method_64700(Ljava/lang/Iterable;)Lnet/minecraft/class_10289;official aLdbn;a(Ljava/lang/Iterable;)Ldbn;
-
getAll
public <I extends RecipeInput,T extends Recipe<I>> Collection<RecipeEntry<T>> getAll(RecipeType<T> type) - Mappings:
Namespace Name Mixin selector named getAllLnet/minecraft/recipe/PreparedRecipes;getAll(Lnet/minecraft/recipe/RecipeType;)Ljava/util/Collection;intermediary method_64698Lnet/minecraft/class_10289;method_64698(Lnet/minecraft/class_3956;)Ljava/util/Collection;official aLdbn;a(Ldbq;)Ljava/util/Collection;
-
recipes
- Mappings:
Namespace Name Mixin selector named recipesLnet/minecraft/recipe/PreparedRecipes;recipes()Ljava/util/Collection;intermediary method_64695Lnet/minecraft/class_10289;method_64695()Ljava/util/Collection;official aLdbn;a()Ljava/util/Collection;
-
get
- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/recipe/PreparedRecipes;get(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/recipe/RecipeEntry;intermediary method_64696Lnet/minecraft/class_10289;method_64696(Lnet/minecraft/class_5321;)Lnet/minecraft/class_8786;official aLdbn;a(Laku;)Ldbk;
-
find
public <I extends RecipeInput,T extends Recipe<I>> Stream<RecipeEntry<T>> find(RecipeType<T> type, I input, World world) - Mappings:
Namespace Name Mixin selector named findLnet/minecraft/recipe/PreparedRecipes;find(Lnet/minecraft/recipe/RecipeType;Lnet/minecraft/recipe/input/RecipeInput;Lnet/minecraft/world/World;)Ljava/util/stream/Stream;intermediary method_64699Lnet/minecraft/class_10289;method_64699(Lnet/minecraft/class_3956;Lnet/minecraft/class_9695;Lnet/minecraft/class_1937;)Ljava/util/stream/Stream;official aLdbn;a(Ldbq;Ldbl;Ldgj;)Ljava/util/stream/Stream;
-