Class PreparedRecipes

java.lang.Object
net.minecraft.recipe.PreparedRecipes

public class PreparedRecipes extends Object
Mappings:
Namespace Name
named net/minecraft/recipe/PreparedRecipes
intermediary net/minecraft/class_10289
official dcl
  • Field Details

    • EMPTY

      public static final PreparedRecipes EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/recipe/PreparedRecipes;EMPTY:Lnet/minecraft/recipe/PreparedRecipes;
      intermediary field_54643 Lnet/minecraft/class_10289;field_54643:Lnet/minecraft/class_10289;
      official a Ldcl;a:Ldcl;
    • byType

      private final Multimap<RecipeType<?>,RecipeEntry<?>> byType
      Mappings:
      Namespace Name Mixin selector
      named byType Lnet/minecraft/recipe/PreparedRecipes;byType:Lcom/google/common/collect/Multimap;
      intermediary field_54644 Lnet/minecraft/class_10289;field_54644:Lcom/google/common/collect/Multimap;
      official b Ldcl;b:Lcom/google/common/collect/Multimap;
    • byKey

      private final Map<RegistryKey<Recipe<?>>,RecipeEntry<?>> byKey
      Mappings:
      Namespace Name Mixin selector
      named byKey Lnet/minecraft/recipe/PreparedRecipes;byKey:Ljava/util/Map;
      intermediary field_54645 Lnet/minecraft/class_10289;field_54645:Ljava/util/Map;
      official c Ldcl;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;)V
      intermediary <init> Lnet/minecraft/class_10289;<init>(Lcom/google/common/collect/Multimap;Ljava/util/Map;)V
      official <init> Ldcl;<init>(Lcom/google/common/collect/Multimap;Ljava/util/Map;)V
  • Method Details

    • of

      public static PreparedRecipes of(Iterable<RecipeEntry<?>> recipes)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/recipe/PreparedRecipes;of(Ljava/lang/Iterable;)Lnet/minecraft/recipe/PreparedRecipes;
      intermediary method_64700 Lnet/minecraft/class_10289;method_64700(Ljava/lang/Iterable;)Lnet/minecraft/class_10289;
      official a Ldcl;a(Ljava/lang/Iterable;)Ldcl;
    • getAll

      public <I extends RecipeInput, T extends Recipe<I>> Collection<RecipeEntry<T>> getAll(RecipeType<T> type)
      Mappings:
      Namespace Name Mixin selector
      named getAll Lnet/minecraft/recipe/PreparedRecipes;getAll(Lnet/minecraft/recipe/RecipeType;)Ljava/util/Collection;
      intermediary method_64698 Lnet/minecraft/class_10289;method_64698(Lnet/minecraft/class_3956;)Ljava/util/Collection;
      official a Ldcl;a(Ldco;)Ljava/util/Collection;
    • recipes

      public Collection<RecipeEntry<?>> recipes()
      Mappings:
      Namespace Name Mixin selector
      named recipes Lnet/minecraft/recipe/PreparedRecipes;recipes()Ljava/util/Collection;
      intermediary method_64695 Lnet/minecraft/class_10289;method_64695()Ljava/util/Collection;
      official a Ldcl;a()Ljava/util/Collection;
    • get

      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/recipe/PreparedRecipes;get(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/recipe/RecipeEntry;
      intermediary method_64696 Lnet/minecraft/class_10289;method_64696(Lnet/minecraft/class_5321;)Lnet/minecraft/class_8786;
      official a Ldcl;a(Laly;)Ldci;
    • 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 find Lnet/minecraft/recipe/PreparedRecipes;find(Lnet/minecraft/recipe/RecipeType;Lnet/minecraft/recipe/input/RecipeInput;Lnet/minecraft/world/World;)Ljava/util/stream/Stream;
      intermediary method_64699 Lnet/minecraft/class_10289;method_64699(Lnet/minecraft/class_3956;Lnet/minecraft/class_9695;Lnet/minecraft/class_1937;)Ljava/util/stream/Stream;
      official a Ldcl;a(Ldco;Ldcj;Ldhh;)Ljava/util/stream/Stream;