public class CustomShapedRecipe extends CustomRecipe implements java.lang.Cloneable
Constructor and Description |
---|
CustomShapedRecipe() |
CustomShapedRecipe(CustomShapedRecipe recipe) |
Modifier and Type | Method and Description |
---|---|
CustomShapedRecipe |
clone() |
RecipeIngredient[] |
getCraftingMatrix() |
java.util.HashMap<java.lang.Character,RecipeIngredient> |
getIngredients() |
java.lang.String[] |
getShape() |
CustomShapedRecipe |
setIngredient(char character,
org.bukkit.Material craftingMaterial) |
CustomShapedRecipe |
setIngredient(char character,
RecipeIngredient ingredient) |
CustomShapedRecipe |
setShape(java.lang.String... shape) |
CustomShapedRecipe |
setShape(java.lang.String firstRow,
java.lang.String secondRow,
java.lang.String thirdRow) |
org.bukkit.inventory.ShapedRecipe |
toBukkitRecipe(org.bukkit.inventory.ItemStack result) |
org.bukkit.inventory.ShapedRecipe |
toBukkitRecipe(org.bukkit.NamespacedKey key,
org.bukkit.inventory.ItemStack result) |
registerBukkitRecipe, registerBukkitRecipe
public CustomShapedRecipe()
public CustomShapedRecipe(CustomShapedRecipe recipe)
public CustomShapedRecipe setShape(java.lang.String... shape)
public CustomShapedRecipe setShape(java.lang.String firstRow, java.lang.String secondRow, java.lang.String thirdRow)
public java.lang.String[] getShape()
public CustomShapedRecipe setIngredient(char character, org.bukkit.Material craftingMaterial)
public CustomShapedRecipe setIngredient(char character, RecipeIngredient ingredient)
public java.util.HashMap<java.lang.Character,RecipeIngredient> getIngredients()
public RecipeIngredient[] getCraftingMatrix()
public org.bukkit.inventory.ShapedRecipe toBukkitRecipe(org.bukkit.inventory.ItemStack result)
toBukkitRecipe
in class CustomRecipe
public org.bukkit.inventory.ShapedRecipe toBukkitRecipe(org.bukkit.NamespacedKey key, org.bukkit.inventory.ItemStack result)
toBukkitRecipe
in class CustomRecipe
public CustomShapedRecipe clone()
clone
in class java.lang.Object