| Constructor and Description | 
|---|
StonecuttingRecipe(@NotNull NamespacedKey key,
                  @NotNull ItemStack result,
                  @NotNull Material source)
Create a Stonecutting recipe to craft the specified ItemStack. 
 | 
StonecuttingRecipe(@NotNull NamespacedKey key,
                  @NotNull ItemStack result,
                  @NotNull RecipeChoice input)
Create a cooking recipe to craft the specified ItemStack. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull String | 
getGroup()
Get the group of this recipe. 
 | 
@NotNull ItemStack | 
getInput()
Get the input material. 
 | 
@NotNull RecipeChoice | 
getInputChoice()
Get the input choice. 
 | 
@NotNull NamespacedKey | 
getKey()
Return the namespaced identifier for this object. 
 | 
@NotNull ItemStack | 
getResult()
Get the result of this recipe. 
 | 
void | 
setGroup(@NotNull String group)
Set the group of this recipe. 
 | 
@NotNull StonecuttingRecipe | 
setInput(@NotNull Material input)
Sets the input of this cooking recipe. 
 | 
@NotNull StonecuttingRecipe | 
setInputChoice(@NotNull RecipeChoice input)
Sets the input of this cooking recipe. 
 | 
public StonecuttingRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull ItemStack result, @NotNull @NotNull Material source)
key - The unique recipe keyresult - The item you want the recipe to create.source - The input material.public StonecuttingRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull ItemStack result, @NotNull @NotNull RecipeChoice input)
key - The unique recipe keyresult - The item you want the recipe to create.input - The input choices.@NotNull public @NotNull StonecuttingRecipe setInput(@NotNull @NotNull Material input)
input - The input material.@NotNull public @NotNull ItemStack getInput()
@NotNull public @NotNull StonecuttingRecipe setInputChoice(@NotNull @NotNull RecipeChoice input)
input - The input choice.@NotNull public @NotNull RecipeChoice getInputChoice()
@NotNull public @NotNull NamespacedKey getKey()
Keyed@NotNull public @NotNull String getGroup()
Copyright © 2022. All rights reserved.