类 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 dtzintermediary net/minecraft/class_299named net/minecraft/client/recipebook/ClientRecipeBook
-
-
字段概要
字段 修饰符和类型 字段 说明 private static LoggerLOGGERprivate List<RecipeResultCollection>orderedResultsprivate Map<RecipeBookGroup,List<RecipeResultCollection>>resultsByGroup-
从类继承的字段 net.minecraft.recipe.book.RecipeBook
recipes, toBeDisplayed
-
-
构造器概要
构造器 构造器 说明 ClientRecipeBook()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 private static RecipeBookGroupgetGroupForRecipe(Recipe<?> recipe)List<RecipeResultCollection>getOrderedResults()List<RecipeResultCollection>getResultsForGroup(RecipeBookGroup category)private static Map<RecipeBookGroup,List<List<Recipe<?>>>>method_30283(Iterable<Recipe<?>> iterable)voidreload(Iterable<Recipe<?>> iterable)-
从类继承的方法 net.minecraft.recipe.book.RecipeBook
add, add, contains, contains, copyFrom, display, display, getOptions, isFilteringCraftable, isFilteringCraftable, isGuiOpen, onRecipeDisplayed, remove, remove, setCategoryOptions, setFilteringCraftable, setGuiOpen, setOptions, shouldDisplay
-
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official cLdtz;c:Lorg/apache/logging/log4j/Logger;intermediary field_25622Lnet/minecraft/class_299;field_25622:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/recipebook/ClientRecipeBook;LOGGER:Lorg/apache/logging/log4j/Logger;
-
resultsByGroup
private Map<RecipeBookGroup,List<RecipeResultCollection>> resultsByGroup
- Mappings:
Namespace Name Mixin selector official dLdtz;d:Ljava/util/Map;intermediary field_1638Lnet/minecraft/class_299;field_1638:Ljava/util/Map;named resultsByGroupLnet/minecraft/client/recipebook/ClientRecipeBook;resultsByGroup:Ljava/util/Map;
-
orderedResults
private List<RecipeResultCollection> orderedResults
- Mappings:
Namespace Name Mixin selector official eLdtz;e:Ljava/util/List;intermediary field_25778Lnet/minecraft/class_299;field_25778:Ljava/util/List;named orderedResultsLnet/minecraft/client/recipebook/ClientRecipeBook;orderedResults:Ljava/util/List;
-
-
方法详细资料
-
reload
public void reload(Iterable<Recipe<?>> iterable)
- Mappings:
Namespace Name Mixin selector official aLdtz;a(Ljava/lang/Iterable;)Vintermediary method_1401Lnet/minecraft/class_299;method_1401(Ljava/lang/Iterable;)Vnamed reloadLnet/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 bLdtz;b(Ljava/lang/Iterable;)Ljava/util/Map;intermediary method_30283Lnet/minecraft/class_299;method_30283(Ljava/lang/Iterable;)Ljava/util/Map;named method_30283Lnet/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 gLdtz;g(Lbsj;)Ldut;intermediary method_1400Lnet/minecraft/class_299;method_1400(Lnet/minecraft/class_1860;)Lnet/minecraft/class_314;named getGroupForRecipeLnet/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 bLdtz;b()Ljava/util/List;intermediary method_1393Lnet/minecraft/class_299;method_1393()Ljava/util/List;named getOrderedResultsLnet/minecraft/client/recipebook/ClientRecipeBook;getOrderedResults()Ljava/util/List;
-
getResultsForGroup
public List<RecipeResultCollection> getResultsForGroup(RecipeBookGroup category)
- Mappings:
Namespace Name Mixin selector official aLdtz;a(Ldut;)Ljava/util/List;intermediary method_1396Lnet/minecraft/class_299;method_1396(Lnet/minecraft/class_314;)Ljava/util/List;named getResultsForGroupLnet/minecraft/client/recipebook/ClientRecipeBook;getResultsForGroup(Lnet/minecraft/client/recipebook/RecipeBookGroup;)Ljava/util/List;
-
-