Class ClientRecipeBook

java.lang.Object
net.minecraft.recipe.book.RecipeBook
net.minecraft.client.recipebook.ClientRecipeBook

@Environment(CLIENT) public class ClientRecipeBook extends RecipeBook
Mappings:
Namespace Name
official eqi
intermediary net/minecraft/class_299
named net/minecraft/client/recipebook/ClientRecipeBook
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Leqi;c:Lorg/slf4j/Logger;
      intermediary field_25622 Lnet/minecraft/class_299;field_25622:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/recipebook/ClientRecipeBook;LOGGER:Lorg/slf4j/Logger;
    • resultsByGroup

      private Map<RecipeBookGroup,List<RecipeResultCollection>> resultsByGroup
      Mappings:
      Namespace Name Mixin selector
      official d Leqi;d:Ljava/util/Map;
      intermediary field_1638 Lnet/minecraft/class_299;field_1638:Ljava/util/Map;
      named resultsByGroup Lnet/minecraft/client/recipebook/ClientRecipeBook;resultsByGroup:Ljava/util/Map;
    • orderedResults

      private List<RecipeResultCollection> orderedResults
      Mappings:
      Namespace Name Mixin selector
      official e Leqi;e:Ljava/util/List;
      intermediary field_25778 Lnet/minecraft/class_299;field_25778:Ljava/util/List;
      named orderedResults Lnet/minecraft/client/recipebook/ClientRecipeBook;orderedResults:Ljava/util/List;
  • Constructor Details

    • ClientRecipeBook

      public ClientRecipeBook()
  • Method Details

    • reload

      public void reload(Iterable<RecipeEntry<?>> recipes, DynamicRegistryManager registryManager)
      Mappings:
      Namespace Name Mixin selector
      official a Leqi;a(Ljava/lang/Iterable;Lhr;)V
      intermediary method_1401 Lnet/minecraft/class_299;method_1401(Ljava/lang/Iterable;Lnet/minecraft/class_5455;)V
      named reload Lnet/minecraft/client/recipebook/ClientRecipeBook;reload(Ljava/lang/Iterable;Lnet/minecraft/registry/DynamicRegistryManager;)V
    • toGroupedMap

      private static Map<RecipeBookGroup,List<List<RecipeEntry<?>>>> toGroupedMap(Iterable<RecipeEntry<?>> recipes)
      Mappings:
      Namespace Name Mixin selector
      official a Leqi;a(Ljava/lang/Iterable;)Ljava/util/Map;
      intermediary method_30283 Lnet/minecraft/class_299;method_30283(Ljava/lang/Iterable;)Ljava/util/Map;
      named toGroupedMap Lnet/minecraft/client/recipebook/ClientRecipeBook;toGroupedMap(Ljava/lang/Iterable;)Ljava/util/Map;
    • getGroupForRecipe

      private static RecipeBookGroup getGroupForRecipe(RecipeEntry<?> recipe)
      Mappings:
      Namespace Name Mixin selector
      official g Leqi;g(Lcmk;)Lere;
      intermediary method_1400 Lnet/minecraft/class_299;method_1400(Lnet/minecraft/class_8786;)Lnet/minecraft/class_314;
      named getGroupForRecipe Lnet/minecraft/client/recipebook/ClientRecipeBook;getGroupForRecipe(Lnet/minecraft/recipe/RecipeEntry;)Lnet/minecraft/client/recipebook/RecipeBookGroup;
    • getOrderedResults

      public List<RecipeResultCollection> getOrderedResults()
      Mappings:
      Namespace Name Mixin selector
      official b Leqi;b()Ljava/util/List;
      intermediary method_1393 Lnet/minecraft/class_299;method_1393()Ljava/util/List;
      named getOrderedResults Lnet/minecraft/client/recipebook/ClientRecipeBook;getOrderedResults()Ljava/util/List;
    • getResultsForGroup

      public List<RecipeResultCollection> getResultsForGroup(RecipeBookGroup category)
      Mappings:
      Namespace Name Mixin selector
      official a Leqi;a(Lere;)Ljava/util/List;
      intermediary method_1396 Lnet/minecraft/class_299;method_1396(Lnet/minecraft/class_314;)Ljava/util/List;
      named getResultsForGroup Lnet/minecraft/client/recipebook/ClientRecipeBook;getResultsForGroup(Lnet/minecraft/client/recipebook/RecipeBookGroup;)Ljava/util/List;