Class RecipeResultCollection
java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeResultCollection
@Environment(CLIENT) public class RecipeResultCollection extends Object
- Mappings:
Namespace Name official dyhintermediary net/minecraft/class_516named net/minecraft/client/gui/screen/recipebook/RecipeResultCollection
-
Field Summary
Fields Modifier and Type Field Description private Set<Recipe<?>>craftableRecipesprivate Set<Recipe<?>>fittingRecipesprivate List<Recipe<?>>recipesprivate booleansingleOutputprivate Set<Recipe<?>>unlockedRecipes -
Constructor Summary
Constructors Constructor Description RecipeResultCollection(List<Recipe<?>> list) -
Method Summary
Modifier and Type Method Description 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 booleanmethod_30295(List<Recipe<?>> list)
-
Field Details
-
recipes
- Mappings:
Namespace Name Mixin selector official aLdyh;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 bLdyh;b:Zintermediary field_3148Lnet/minecraft/class_516;field_3148:Znamed singleOutputLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;singleOutput:Z
-
craftableRecipes
- Mappings:
Namespace Name Mixin selector official cLdyh;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
- Mappings:
Namespace Name Mixin selector official dLdyh;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
- Mappings:
Namespace Name Mixin selector official eLdyh;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;
-
-
Constructor Details
-
RecipeResultCollection
-
-
Method Details
-
method_30295
- Mappings:
Namespace Name Mixin selector official aLdyh;a(Ljava/util/List;)Zintermediary method_30295Lnet/minecraft/class_516;method_30295(Ljava/util/List;)Znamed method_30295Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;method_30295(Ljava/util/List;)Z
-
isInitialized
public boolean isInitialized()- Mappings:
Namespace Name Mixin selector official aLdyh;a()Zintermediary method_2652Lnet/minecraft/class_516;method_2652()Znamed isInitializedLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;isInitialized()Z
-
initialize
- Mappings:
Namespace Name Mixin selector official aLdyh;a(Laej;)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 aLdyh;a(Lbhn;IILaej;)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
- Mappings:
Namespace Name Mixin selector official aLdyh;a(Lbqn;)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 bLdyh;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 cLdyh;c()Zintermediary method_2657Lnet/minecraft/class_516;method_2657()Znamed hasFittingRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasFittingRecipes()Z
-
getAllRecipes
- Mappings:
Namespace Name Mixin selector official dLdyh;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
- Mappings:
Namespace Name Mixin selector official aLdyh;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
- Mappings:
Namespace Name Mixin selector official bLdyh;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 eLdyh;e()Zintermediary method_2656Lnet/minecraft/class_516;method_2656()Znamed hasSingleOutputLnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasSingleOutput()Z
-