类 RecipeResultCollection
- java.lang.Object
-
- net.minecraft.client.gui.screen.recipebook.RecipeResultCollection
-
@Environment(CLIENT) public class RecipeResultCollection extends Object
- Mappings:
Namespace Name official eciintermediary net/minecraft/class_516named net/minecraft/client/gui/screen/recipebook/RecipeResultCollection
-
-
字段概要
字段 修饰符和类型 字段 说明 private Set<Recipe<?>>craftableRecipesprivate Set<Recipe<?>>fittingRecipesprivate List<Recipe<?>>recipesprivate booleansingleOutputprivate Set<Recipe<?>>unlockedRecipes
-
构造器概要
构造器 构造器 说明 RecipeResultCollection(List<Recipe<?>> list)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcomputeCraftables(RecipeFinder recipeFinder, int gridWidth, int gridHeight, RecipeBook recipeBook)List<Recipe<?>>getAllRecipes()List<Recipe<?>>getRecipes(boolean craftable)List<Recipe<?>>getResults(boolean craftableOnly)booleanhasCraftableRecipes()booleanhasFittingRecipes()booleanhasSingleOutput()voidinitialize(RecipeBook recipeBook)booleanisCraftable(Recipe<?> recipe)booleanisInitialized()private static booleanshouldHaveSingleOutput(List<Recipe<?>> list)
-
-
-
字段详细资料
-
recipes
private final List<Recipe<?>> recipes
- Mappings:
Namespace Name Mixin selector official aLeci;a:Ljava/util/List;intermediary field_3144Lnet/minecraft/class_516;field_3144:Ljava/util/List;named recipesLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;recipes:Ljava/util/List;
-
singleOutput
private final boolean singleOutput
- Mappings:
Namespace Name Mixin selector official bLeci;b:Zintermediary field_3148Lnet/minecraft/class_516;field_3148:Znamed singleOutputLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;singleOutput:Z
-
craftableRecipes
private final Set<Recipe<?>> craftableRecipes
- Mappings:
Namespace Name Mixin selector official cLeci;c:Ljava/util/Set;intermediary field_3146Lnet/minecraft/class_516;field_3146:Ljava/util/Set;named craftableRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;craftableRecipes:Ljava/util/Set;
-
fittingRecipes
private final Set<Recipe<?>> fittingRecipes
- Mappings:
Namespace Name Mixin selector official dLeci;d:Ljava/util/Set;intermediary field_3145Lnet/minecraft/class_516;field_3145:Ljava/util/Set;named fittingRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;fittingRecipes:Ljava/util/Set;
-
unlockedRecipes
private final Set<Recipe<?>> unlockedRecipes
- Mappings:
Namespace Name Mixin selector official eLeci;e:Ljava/util/Set;intermediary field_3147Lnet/minecraft/class_516;field_3147:Ljava/util/Set;named unlockedRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;unlockedRecipes:Ljava/util/Set;
-
-
方法详细资料
-
shouldHaveSingleOutput
private static boolean shouldHaveSingleOutput(List<Recipe<?>> list)
- Mappings:
Namespace Name Mixin selector official aLeci;a(Ljava/util/List;)Zintermediary method_30295Lnet/minecraft/class_516;method_30295(Ljava/util/List;)Znamed shouldHaveSingleOutputLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;shouldHaveSingleOutput(Ljava/util/List;)Z
-
isInitialized
public boolean isInitialized()
- Mappings:
Namespace Name Mixin selector official aLeci;a()Zintermediary method_2652Lnet/minecraft/class_516;method_2652()Znamed isInitializedLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;isInitialized()Z
-
initialize
public void initialize(RecipeBook recipeBook)
- Mappings:
Namespace Name Mixin selector official aLeci;a(Laez;)Vintermediary method_2647Lnet/minecraft/class_516;method_2647(Lnet/minecraft/class_3439;)Vnamed initializeLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;initialize(Lnet/minecraft/recipe/book/RecipeBook;)V
-
computeCraftables
public void computeCraftables(RecipeFinder recipeFinder, int gridWidth, int gridHeight, RecipeBook recipeBook)
- Mappings:
Namespace Name Mixin selector official aLeci;a(Lbjh;IILaez;)Vintermediary method_2649Lnet/minecraft/class_516;method_2649(Lnet/minecraft/class_1662;IILnet/minecraft/class_3439;)Vnamed computeCraftablesLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;computeCraftables(Lnet/minecraft/recipe/RecipeFinder;IILnet/minecraft/recipe/book/RecipeBook;)V
-
isCraftable
public boolean isCraftable(Recipe<?> recipe)
- Mappings:
Namespace Name Mixin selector official aLeci;a(Lbsj;)Zintermediary method_2653Lnet/minecraft/class_516;method_2653(Lnet/minecraft/class_1860;)Znamed isCraftableLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;isCraftable(Lnet/minecraft/recipe/Recipe;)Z
-
hasCraftableRecipes
public boolean hasCraftableRecipes()
- Mappings:
Namespace Name Mixin selector official bLeci;b()Zintermediary method_2655Lnet/minecraft/class_516;method_2655()Znamed hasCraftableRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasCraftableRecipes()Z
-
hasFittingRecipes
public boolean hasFittingRecipes()
- Mappings:
Namespace Name Mixin selector official cLeci;c()Zintermediary method_2657Lnet/minecraft/class_516;method_2657()Znamed hasFittingRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasFittingRecipes()Z
-
getAllRecipes
public List<Recipe<?>> getAllRecipes()
- Mappings:
Namespace Name Mixin selector official dLeci;d()Ljava/util/List;intermediary method_2650Lnet/minecraft/class_516;method_2650()Ljava/util/List;named getAllRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;getAllRecipes()Ljava/util/List;
-
getResults
public List<Recipe<?>> getResults(boolean craftableOnly)
- Mappings:
Namespace Name Mixin selector official aLeci;a(Z)Ljava/util/List;intermediary method_2651Lnet/minecraft/class_516;method_2651(Z)Ljava/util/List;named getResultsLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;getResults(Z)Ljava/util/List;
-
getRecipes
public List<Recipe<?>> getRecipes(boolean craftable)
- Mappings:
Namespace Name Mixin selector official bLeci;b(Z)Ljava/util/List;intermediary method_2648Lnet/minecraft/class_516;method_2648(Z)Ljava/util/List;named getRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;getRecipes(Z)Ljava/util/List;
-
hasSingleOutput
public boolean hasSingleOutput()
- Mappings:
Namespace Name Mixin selector official eLeci;e()Zintermediary method_2656Lnet/minecraft/class_516;method_2656()Znamed hasSingleOutputLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasSingleOutput()Z
-
-