| Modifier and Type | Field and Description |
|---|---|
java.util.List<ItemStack> |
recipeItems
Is a List of ItemStack that composes the recipe.
|
| Constructor and Description |
|---|
ShapelessRecipes(ItemStack output,
java.util.List<ItemStack> inputList) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
getCraftingResult(InventoryCrafting inv)
Returns an Item that is the result of this recipe
|
ItemStack |
getRecipeOutput() |
int |
getRecipeSize()
Returns the size of the recipe area
|
NonNullList<ItemStack> |
getRemainingItems(InventoryCrafting inv) |
boolean |
matches(InventoryCrafting inv,
World worldIn)
Used to check if a recipe matches current crafting inventory
|
public final java.util.List<ItemStack> recipeItems
public ItemStack getRecipeOutput()
getRecipeOutput in interface IRecipepublic NonNullList<ItemStack> getRemainingItems(InventoryCrafting inv)
getRemainingItems in interface IRecipepublic boolean matches(InventoryCrafting inv, World worldIn)
public ItemStack getCraftingResult(InventoryCrafting inv)
getCraftingResult in interface IRecipepublic int getRecipeSize()
getRecipeSize in interface IRecipe