Package net.minecraft.client.recipebook
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 Summary
Fields Modifier and Type Field Description private static Logger
LOGGER
private List<RecipeResultCollection>
orderedResults
private Map<RecipeBookGroup,List<RecipeResultCollection>>
resultsByGroup
Fields inherited from class net.minecraft.recipe.book.RecipeBook
recipes, toBeDisplayed
-
Constructor Summary
Constructors Constructor Description ClientRecipeBook()
-
Method Summary
Modifier and Type Method Description private static RecipeBookGroup
getGroupForRecipe(Recipe<?> recipe)
List<RecipeResultCollection>
getOrderedResults()
List<RecipeResultCollection>
getResultsForGroup(RecipeBookGroup category)
private static Map<RecipeBookGroup,List<List<Recipe<?>>>>
method_30283(Iterable<Recipe<?>> iterable)
void
reload(Iterable<Recipe<?>> iterable)
Methods inherited from class net.minecraft.recipe.book.RecipeBook
add, add, contains, contains, copyFrom, display, display, getOptions, isFilteringCraftable, isFilteringCraftable, isGuiOpen, onRecipeDisplayed, remove, remove, setCategoryOptions, setFilteringCraftable, setGuiOpen, setOptions, shouldDisplay
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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;
-