public class RecipeList
extends java.lang.Object
コンストラクタと説明 |
---|
RecipeList() |
修飾子とタイプ | メソッドと説明 |
---|---|
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()
Checks if recipebook is not empty
|
void |
updateKnownRecipes(RecipeBook book) |
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()