public class RecipeList
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
private java.util.Set<IRecipe<?>> | 
canFit  | 
private java.util.Set<IRecipe<?>> | 
craftable  | 
private java.util.Set<IRecipe<?>> | 
inBook  | 
private java.util.List<IRecipe<?>> | 
recipes  | 
private boolean | 
singleResultItem  | 
| Constructor and Description | 
|---|
RecipeList()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(IRecipe<?> recipe)  | 
void | 
canCraft(RecipeItemHelper handler,
        int width,
        int height,
        RecipeBook book)  | 
boolean | 
containsCraftableRecipes()  | 
boolean | 
containsValidRecipes()  | 
java.util.List<IRecipe<?>> | 
getDisplayRecipes(boolean onlyCraftable)  | 
java.util.List<IRecipe<?>> | 
getRecipes()  | 
java.util.List<IRecipe<?>> | 
getRecipes(boolean onlyCraftable)  | 
boolean | 
hasSingleResultItem()  | 
boolean | 
isCraftable(IRecipe<?> recipe)  | 
boolean | 
isNotEmpty()  | 
void | 
updateKnownRecipes(RecipeBook book)  | 
private final java.util.List<IRecipe<?>> recipes
private final java.util.Set<IRecipe<?>> craftable
private final java.util.Set<IRecipe<?>> canFit
private final java.util.Set<IRecipe<?>> inBook
private boolean singleResultItem
public boolean isNotEmpty()
public void updateKnownRecipes(RecipeBook book)
public void canCraft(RecipeItemHelper handler, int width, int height, RecipeBook book)
public boolean isCraftable(IRecipe<?> recipe)
public boolean containsCraftableRecipes()
public boolean containsValidRecipes()
public java.util.List<IRecipe<?>> getRecipes()
public java.util.List<IRecipe<?>> getRecipes(boolean onlyCraftable)
public java.util.List<IRecipe<?>> getDisplayRecipes(boolean onlyCraftable)
public void add(IRecipe<?> recipe)
public boolean hasSingleResultItem()