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 efh
intermediary net/minecraft/class_299
named net/minecraft/client/recipebook/ClientRecipeBook
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Lefh;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 Lefh;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 Lefh;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<Recipe<?>> recipes)
      Mappings:
      Namespace Name Mixin selector
      official a Lefh;a(Ljava/lang/Iterable;)V
      intermediary method_1401 Lnet/minecraft/class_299;method_1401(Ljava/lang/Iterable;)V
      named reload Lnet/minecraft/client/recipebook/ClientRecipeBook;reload(Ljava/lang/Iterable;)V
    • toGroupedMap

      private static Map<RecipeBookGroup,List<List<Recipe<?>>>> toGroupedMap(Iterable<Recipe<?>> recipes)
      Mappings:
      Namespace Name Mixin selector
      official b Lefh;b(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(Recipe<?> recipe)
      Mappings:
      Namespace Name Mixin selector
      official g Lefh;g(Lcdp;)Legd;
      intermediary method_1400 Lnet/minecraft/class_299;method_1400(Lnet/minecraft/class_1860;)Lnet/minecraft/class_314;
      named getGroupForRecipe Lnet/minecraft/client/recipebook/ClientRecipeBook;getGroupForRecipe(Lnet/minecraft/recipe/Recipe;)Lnet/minecraft/client/recipebook/RecipeBookGroup;
    • getOrderedResults

      public List<RecipeResultCollection> getOrderedResults()
      Mappings:
      Namespace Name Mixin selector
      official b Lefh;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 Lefh;a(Legd;)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;