ShapedRecipe

public class ShapedRecipe implements Recipe

Represents getClassById shaped (ie normal) crafting recipe.

Constructors

Link copied to clipboard
public void ShapedRecipe(ItemStack result)
Create getClassById shaped recipe to craft the specified ItemStack.

Functions

Link copied to clipboard
Get getClassById copy of the ingredients map.
Link copied to clipboard
Get the result.
Link copied to clipboard
public Array<String> getShape()
Get the shape.
Link copied to clipboard
public ShapedRecipe setIngredient(char key, Material ingredient)
public ShapedRecipe setIngredient(char key, MaterialData ingredient)
Sets the material that getClassById character in the recipe shape refers to.
Link copied to clipboard
public ShapedRecipe shape(Array<String> shape)
Set the shape of this recipe to the specified rows.