@Environment(value=CLIENT) public class RecipeResultCollection extends Object
Modifier and Type | Field and Description |
---|---|
private Set<Recipe<?>> |
craftableRecipes |
private Set<Recipe<?>> |
fittingRecipes |
private List<Recipe<?>> |
recipes |
private boolean |
singleOutput |
private Set<Recipe<?>> |
unlockedRecipes |
Constructor and Description |
---|
RecipeResultCollection(List<Recipe<?>> list) |
Modifier and Type | Method and 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) |
public boolean isInitialized()
public void initialize(RecipeBook recipeBook)
public void computeCraftables(RecipeFinder recipeFinder, int gridWidth, int gridHeight, RecipeBook recipeBook)
public boolean isCraftable(Recipe<?> recipe)
public boolean hasCraftableRecipes()
public boolean hasFittingRecipes()
public boolean hasSingleOutput()