Package org.bukkit.inventory
Class StonecuttingRecipe
java.lang.Object
org.bukkit.inventory.StonecuttingRecipe
Represents a Stonecutting recipe.
- 
Constructor SummaryConstructorsConstructorDescriptionStonecuttingRecipe(NamespacedKey key, ItemStack result, RecipeChoice input) Create a cooking recipe to craft the specified ItemStack.StonecuttingRecipe(NamespacedKey key, ItemStack result, Material source) Create a Stonecutting recipe to craft the specified ItemStack.
- 
Method SummaryModifier and TypeMethodDescriptiongetGroup()Get the group of this recipe.getInput()Get the input material.Get the input choice.getKey()Return the namespaced identifier for this object.Get the result of this recipe.voidSet the group of this recipe.Sets the input of this cooking recipe.setInputChoice(RecipeChoice input) Sets the input of this cooking recipe.
- 
Constructor Details- 
StonecuttingRecipepublic StonecuttingRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source) Create a Stonecutting recipe to craft the specified ItemStack.- Parameters:
- key- The unique recipe key
- result- The item you want the recipe to create.
- source- The input material.
 
- 
StonecuttingRecipepublic StonecuttingRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input) Create a cooking recipe to craft the specified ItemStack.- Parameters:
- key- The unique recipe key
- result- The item you want the recipe to create.
- input- The input choices.
 
 
- 
- 
Method Details- 
setInputSets the input of this cooking recipe.- Parameters:
- input- The input material.
- Returns:
- The changed recipe, so you can chain calls.
 
- 
getInputGet the input material.- Returns:
- The input material.
 
- 
setInputChoiceSets the input of this cooking recipe.- Parameters:
- input- The input choice.
- Returns:
- The changed recipe, so you can chain calls.
 
- 
getInputChoiceGet the input choice.- Returns:
- The input choice.
 
- 
getResultGet the result of this recipe.
- 
getKeyDescription copied from interface:KeyedReturn the namespaced identifier for this object.
- 
getGroupGet the group of this recipe. Recipes with the same group may be grouped together when displayed in the client.- Returns:
- recipe group. An empty string denotes no group. May not be null.
 
- 
setGroupSet the group of this recipe. Recipes with the same group may be grouped together when displayed in the client.- Parameters:
- group- recipe group. An empty string denotes no group. May not be null.
 
 
-