public class RecipeList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.BitSet |
canFit |
private java.util.BitSet |
craftable |
private java.util.BitSet |
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 p_194208_1_) |
boolean |
hasSingleResultItem() |
boolean |
isCraftable(IRecipe recipe) |
boolean |
isNotEmpty() |
void |
updateKnownRecipes(RecipeBook book) |
private java.util.List<IRecipe> recipes
private final java.util.BitSet craftable
private final java.util.BitSet canFit
private final java.util.BitSet 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 p_194208_1_)
public java.util.List<IRecipe> getDisplayRecipes(boolean onlyCraftable)
public void add(IRecipe recipe)
public boolean hasSingleResultItem()