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 dpx
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 Ldpx;c:Lorg/apache/logging/log4j/Logger;
      intermediary field_25622 Lnet/minecraft/class_299;field_25622:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/recipebook/ClientRecipeBook;LOGGER:Lorg/apache/logging/log4j/Logger;
    • resultsByGroup

      private Map<RecipeBookGroup,​List<RecipeResultCollection>> resultsByGroup
      Mappings:
      Namespace Name Mixin selector
      official d Ldpx;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 Ldpx;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<?>> iterable)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpx;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
    • method_30283

      private static Map<RecipeBookGroup,​List<List<Recipe<?>>>> method_30283​(Iterable<Recipe<?>> iterable)
      Mappings:
      Namespace Name Mixin selector
      official b Ldpx;b(Ljava/lang/Iterable;)Ljava/util/Map;
      intermediary method_30283 Lnet/minecraft/class_299;method_30283(Ljava/lang/Iterable;)Ljava/util/Map;
      named method_30283 Lnet/minecraft/client/recipebook/ClientRecipeBook;method_30283(Ljava/lang/Iterable;)Ljava/util/Map;
    • getGroupForRecipe

      private static RecipeBookGroup getGroupForRecipe​(Recipe<?> recipe)
      Mappings:
      Namespace Name Mixin selector
      official g Ldpx;g(Lbqn;)Ldqr;
      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 Ldpx;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 Ldpx;a(Ldqr;)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;