Class RecipeResultCollection
java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeResultCollection
@Environment(CLIENT) public class RecipeResultCollection extends Object
- Mappings:
Namespace Name official dyh
intermediary net/minecraft/class_516
named net/minecraft/client/gui/screen/recipebook/RecipeResultCollection
-
Field Summary
Fields Modifier and Type Field Description private Set<Recipe<?>>
craftableRecipes
private Set<Recipe<?>>
fittingRecipes
private List<Recipe<?>>
recipes
private boolean
singleOutput
private Set<Recipe<?>>
unlockedRecipes
-
Constructor Summary
Constructors Constructor Description RecipeResultCollection(List<Recipe<?>> list)
-
Method Summary
Modifier and Type Method Description void
computeCraftables(RecipeFinder recipeFinder, int gridWidth, int gridHeight, RecipeBook recipeBook)
List<Recipe<?>>
getAllRecipes()
List<Recipe<?>>
getRecipes(boolean craftable)
List<Recipe<?>>
getResults(boolean craftableOnly)
boolean
hasCraftableRecipes()
boolean
hasFittingRecipes()
boolean
hasSingleOutput()
void
initialize(RecipeBook recipeBook)
boolean
isCraftable(Recipe<?> recipe)
boolean
isInitialized()
private static boolean
method_30295(List<Recipe<?>> list)
-
Field Details
-
recipes
- Mappings:
Namespace Name Mixin selector official a
Ldyh;a:Ljava/util/List;
intermediary field_3144
Lnet/minecraft/class_516;field_3144:Ljava/util/List;
named recipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;recipes:Ljava/util/List;
-
singleOutput
private final boolean singleOutput- Mappings:
Namespace Name Mixin selector official b
Ldyh;b:Z
intermediary field_3148
Lnet/minecraft/class_516;field_3148:Z
named singleOutput
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;singleOutput:Z
-
craftableRecipes
- Mappings:
Namespace Name Mixin selector official c
Ldyh;c:Ljava/util/Set;
intermediary field_3146
Lnet/minecraft/class_516;field_3146:Ljava/util/Set;
named craftableRecipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;craftableRecipes:Ljava/util/Set;
-
fittingRecipes
- Mappings:
Namespace Name Mixin selector official d
Ldyh;d:Ljava/util/Set;
intermediary field_3145
Lnet/minecraft/class_516;field_3145:Ljava/util/Set;
named fittingRecipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;fittingRecipes:Ljava/util/Set;
-
unlockedRecipes
- Mappings:
Namespace Name Mixin selector official e
Ldyh;e:Ljava/util/Set;
intermediary field_3147
Lnet/minecraft/class_516;field_3147:Ljava/util/Set;
named unlockedRecipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;unlockedRecipes:Ljava/util/Set;
-
-
Constructor Details
-
RecipeResultCollection
-
-
Method Details
-
method_30295
- Mappings:
Namespace Name Mixin selector official a
Ldyh;a(Ljava/util/List;)Z
intermediary method_30295
Lnet/minecraft/class_516;method_30295(Ljava/util/List;)Z
named method_30295
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;method_30295(Ljava/util/List;)Z
-
isInitialized
public boolean isInitialized()- Mappings:
Namespace Name Mixin selector official a
Ldyh;a()Z
intermediary method_2652
Lnet/minecraft/class_516;method_2652()Z
named isInitialized
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;isInitialized()Z
-
initialize
- Mappings:
Namespace Name Mixin selector official a
Ldyh;a(Laej;)V
intermediary method_2647
Lnet/minecraft/class_516;method_2647(Lnet/minecraft/class_3439;)V
named initialize
Lnet/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 a
Ldyh;a(Lbhn;IILaej;)V
intermediary method_2649
Lnet/minecraft/class_516;method_2649(Lnet/minecraft/class_1662;IILnet/minecraft/class_3439;)V
named computeCraftables
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;computeCraftables(Lnet/minecraft/recipe/RecipeFinder;IILnet/minecraft/recipe/book/RecipeBook;)V
-
isCraftable
- Mappings:
Namespace Name Mixin selector official a
Ldyh;a(Lbqn;)Z
intermediary method_2653
Lnet/minecraft/class_516;method_2653(Lnet/minecraft/class_1860;)Z
named isCraftable
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;isCraftable(Lnet/minecraft/recipe/Recipe;)Z
-
hasCraftableRecipes
public boolean hasCraftableRecipes()- Mappings:
Namespace Name Mixin selector official b
Ldyh;b()Z
intermediary method_2655
Lnet/minecraft/class_516;method_2655()Z
named hasCraftableRecipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasCraftableRecipes()Z
-
hasFittingRecipes
public boolean hasFittingRecipes()- Mappings:
Namespace Name Mixin selector official c
Ldyh;c()Z
intermediary method_2657
Lnet/minecraft/class_516;method_2657()Z
named hasFittingRecipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasFittingRecipes()Z
-
getAllRecipes
- Mappings:
Namespace Name Mixin selector official d
Ldyh;d()Ljava/util/List;
intermediary method_2650
Lnet/minecraft/class_516;method_2650()Ljava/util/List;
named getAllRecipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;getAllRecipes()Ljava/util/List;
-
getResults
- Mappings:
Namespace Name Mixin selector official a
Ldyh;a(Z)Ljava/util/List;
intermediary method_2651
Lnet/minecraft/class_516;method_2651(Z)Ljava/util/List;
named getResults
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;getResults(Z)Ljava/util/List;
-
getRecipes
- Mappings:
Namespace Name Mixin selector official b
Ldyh;b(Z)Ljava/util/List;
intermediary method_2648
Lnet/minecraft/class_516;method_2648(Z)Ljava/util/List;
named getRecipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;getRecipes(Z)Ljava/util/List;
-
hasSingleOutput
public boolean hasSingleOutput()- Mappings:
Namespace Name Mixin selector official e
Ldyh;e()Z
intermediary method_2656
Lnet/minecraft/class_516;method_2656()Z
named hasSingleOutput
Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasSingleOutput()Z
-