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

    • recipes

      private final Map<NetworkRecipeId,RecipeDisplayEntry> recipes
      Mappings:
      Namespace Name Mixin selector
      named recipes Lnet/minecraft/client/recipebook/ClientRecipeBook;recipes:Ljava/util/Map;
      intermediary field_54810 Lnet/minecraft/class_299;field_54810:Ljava/util/Map;
      official b Lflq;b:Ljava/util/Map;
    • highlightedRecipes

      private final Set<NetworkRecipeId> highlightedRecipes
      Mappings:
      Namespace Name Mixin selector
      named highlightedRecipes Lnet/minecraft/client/recipebook/ClientRecipeBook;highlightedRecipes:Ljava/util/Set;
      intermediary field_54811 Lnet/minecraft/class_299;field_54811:Ljava/util/Set;
      official c Lflq;c:Ljava/util/Set;
    • resultsByCategory

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

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

    • ClientRecipeBook

      public ClientRecipeBook()
  • Method Details

    • add

      public void add(RecipeDisplayEntry entry)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/client/recipebook/ClientRecipeBook;add(Lnet/minecraft/recipe/RecipeDisplayEntry;)V
      intermediary method_64849 Lnet/minecraft/class_299;method_64849(Lnet/minecraft/class_10297;)V
      official a Lflq;a(Lddj;)V
    • remove

      public void remove(NetworkRecipeId recipeId)
      Mappings:
      Namespace Name Mixin selector
      named remove Lnet/minecraft/client/recipebook/ClientRecipeBook;remove(Lnet/minecraft/recipe/NetworkRecipeId;)V
      intermediary method_64850 Lnet/minecraft/class_299;method_64850(Lnet/minecraft/class_10298;)V
      official a Lflq;a(Lddk;)V
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/client/recipebook/ClientRecipeBook;clear()V
      intermediary method_65018 Lnet/minecraft/class_299;method_65018()V
      official b Lflq;b()V
    • isHighlighted

      public boolean isHighlighted(NetworkRecipeId recipeId)
      Mappings:
      Namespace Name Mixin selector
      named isHighlighted Lnet/minecraft/client/recipebook/ClientRecipeBook;isHighlighted(Lnet/minecraft/recipe/NetworkRecipeId;)Z
      intermediary method_64855 Lnet/minecraft/class_299;method_64855(Lnet/minecraft/class_10298;)Z
      official b Lflq;b(Lddk;)Z
    • unmarkHighlighted

      public void unmarkHighlighted(NetworkRecipeId recipeId)
      Mappings:
      Namespace Name Mixin selector
      named unmarkHighlighted Lnet/minecraft/client/recipebook/ClientRecipeBook;unmarkHighlighted(Lnet/minecraft/recipe/NetworkRecipeId;)V
      intermediary method_64856 Lnet/minecraft/class_299;method_64856(Lnet/minecraft/class_10298;)V
      official c Lflq;c(Lddk;)V
    • markHighlighted

      public void markHighlighted(NetworkRecipeId recipeId)
      Mappings:
      Namespace Name Mixin selector
      named markHighlighted Lnet/minecraft/client/recipebook/ClientRecipeBook;markHighlighted(Lnet/minecraft/recipe/NetworkRecipeId;)V
      intermediary method_64857 Lnet/minecraft/class_299;method_64857(Lnet/minecraft/class_10298;)V
      official d Lflq;d(Lddk;)V
    • refresh

      public void refresh()
      Mappings:
      Namespace Name Mixin selector
      named refresh Lnet/minecraft/client/recipebook/ClientRecipeBook;refresh()V
      intermediary method_64853 Lnet/minecraft/class_299;method_64853()V
      official c Lflq;c()V
    • toGroupedMap

      private static Map<RecipeBookCategory,List<List<RecipeDisplayEntry>>> toGroupedMap(Iterable<RecipeDisplayEntry> recipes)
      Mappings:
      Namespace Name Mixin selector
      named toGroupedMap Lnet/minecraft/client/recipebook/ClientRecipeBook;toGroupedMap(Ljava/lang/Iterable;)Ljava/util/Map;
      intermediary method_30283 Lnet/minecraft/class_299;method_30283(Ljava/lang/Iterable;)Ljava/util/Map;
      official a Lflq;a(Ljava/lang/Iterable;)Ljava/util/Map;
    • getOrderedResults

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

      public List<RecipeResultCollection> getResultsForCategory(RecipeBookGroup category)
      Mappings:
      Namespace Name Mixin selector
      named getResultsForCategory Lnet/minecraft/client/recipebook/ClientRecipeBook;getResultsForCategory(Lnet/minecraft/recipe/book/RecipeBookGroup;)Ljava/util/List;
      intermediary method_1396 Lnet/minecraft/class_299;method_1396(Lnet/minecraft/class_10287;)Ljava/util/List;
      official a Lflq;a(Ldbv;)Ljava/util/List;