public class ShapedRecipes extends java.lang.Object implements IRecipe
| Modifier and Type | Field and Description |
|---|---|
int |
recipeHeight
How many vertical slots this recipe uses.
|
ItemStack[] |
recipeItems
Is a array of ItemStack that composes the recipe.
|
int |
recipeWidth
How many horizontal slots this recipe is wide.
|
| Constructor and Description |
|---|
ShapedRecipes(int p_i1917_1_,
int p_i1917_2_,
ItemStack[] p_i1917_3_,
ItemStack p_i1917_4_) |
| Modifier and Type | Method and Description |
|---|---|
ShapedRecipes |
func_92100_c() |
ItemStack |
getCraftingResult(InventoryCrafting p_77572_1_)
Returns an Item that is the result of this recipe
|
ItemStack |
getRecipeOutput() |
int |
getRecipeSize()
Returns the size of the recipe area
|
boolean |
matches(InventoryCrafting p_77569_1_,
World p_77569_2_)
Used to check if a recipe matches current crafting inventory
|
public final int recipeWidth
public final int recipeHeight
public final ItemStack[] recipeItems
public ItemStack getRecipeOutput()
getRecipeOutput in interface IRecipepublic boolean matches(InventoryCrafting p_77569_1_, World p_77569_2_)
public ItemStack getCraftingResult(InventoryCrafting p_77572_1_)
getCraftingResult in interface IRecipepublic int getRecipeSize()
getRecipeSize in interface IRecipepublic ShapedRecipes func_92100_c()