toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.inventory
/
ShapedRecipe
Shaped
Recipe
public
class
ShapedRecipe
implements
Recipe
Represents getClassById shaped (ie normal) crafting recipe.
Members
Constructors
Shaped
Recipe
Link copied to clipboard
public
void
ShapedRecipe
(
ItemStack
result
)
Create getClassById shaped recipe to craft the specified ItemStack.
Functions
get
Ingredient
Map
Link copied to clipboard
public
Map
<
Character
,
ItemStack
>
getIngredientMap
(
)
Get getClassById copy of the ingredients map.
get
Result
Link copied to clipboard
public
ItemStack
getResult
(
)
Get the result.
get
Shape
Link copied to clipboard
public
Array
<
String
>
getShape
(
)
Get the shape.
set
Ingredient
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.
shape
Link copied to clipboard
public
ShapedRecipe
shape
(
Array
<
String
>
shape
)
Set the shape of this recipe to the specified rows.