Generic cleanup of warnings, whitespace and style.
This commit is contained in:
@@ -16,6 +16,7 @@ public class ShapedRecipe implements Recipe {
|
||||
/**
|
||||
* Create a shaped recipe to craft the specified ItemStack. The constructor merely determines the
|
||||
* result and type; to set the actual recipe, you'll need to call the appropriate methods.
|
||||
*
|
||||
* @param result The item you want the recipe to create.
|
||||
* @see ShapedRecipe#shape(String...)
|
||||
* @see ShapedRecipe#setIngredient(char, Material)
|
||||
@@ -29,6 +30,7 @@ public class ShapedRecipe implements Recipe {
|
||||
/**
|
||||
* Set the shape of this recipe to the specified rows. Each character represents a different
|
||||
* ingredient; exactly what each character represents is set separately.
|
||||
*
|
||||
* @param shape The rows of the recipe (up to 3 rows).
|
||||
* @return The changed recipe, so you can chain calls.
|
||||
*/
|
||||
@@ -57,6 +59,7 @@ public class ShapedRecipe implements Recipe {
|
||||
|
||||
/**
|
||||
* Sets the material that a character in the recipe shape refers to.
|
||||
*
|
||||
* @param key The character that represents the ingredient in the shape.
|
||||
* @param ingredient The ingredient.
|
||||
* @return The changed recipe, so you can chain calls.
|
||||
@@ -71,6 +74,7 @@ public class ShapedRecipe implements Recipe {
|
||||
|
||||
/**
|
||||
* Sets the material that a character in the recipe shape refers to.
|
||||
*
|
||||
* @param key The character that represents the ingredient in the shape.
|
||||
* @param ingredient The ingredient.
|
||||
* @return The changed recipe, so you can chain calls.
|
||||
@@ -81,6 +85,7 @@ public class ShapedRecipe implements Recipe {
|
||||
|
||||
/**
|
||||
* Sets the material that a character in the recipe shape refers to.
|
||||
*
|
||||
* @param key The character that represents the ingredient in the shape.
|
||||
* @param ingredient The ingredient.
|
||||
* @param raw The raw material data as an integer.
|
||||
@@ -108,6 +113,7 @@ public class ShapedRecipe implements Recipe {
|
||||
|
||||
/**
|
||||
* Get the ingredients map.
|
||||
*
|
||||
* @return The mapping of character to ingredients.
|
||||
*/
|
||||
public HashMap<Character, MaterialData> getIngredientMap() {
|
||||
@@ -116,6 +122,7 @@ public class ShapedRecipe implements Recipe {
|
||||
|
||||
/**
|
||||
* Get the shape.
|
||||
*
|
||||
* @return The recipe's shape.
|
||||
*/
|
||||
public String[] getShape() {
|
||||
@@ -124,6 +131,7 @@ public class ShapedRecipe implements Recipe {
|
||||
|
||||
/**
|
||||
* Get the result.
|
||||
*
|
||||
* @return The result stack.
|
||||
*/
|
||||
public ItemStack getResult() {
|
||||
|
||||
Reference in New Issue
Block a user