| Constructor | Description | 
|---|---|
| FurnaceRecipe(ItemStack result,
             Material source) | Deprecated.  | 
| FurnaceRecipe(ItemStack result,
             MaterialData source) | Deprecated.  | 
| FurnaceRecipe(ItemStack result,
             MaterialData source,
             float experience) | Deprecated.  | 
| FurnaceRecipe(ItemStack result,
             Material source,
             int data) | Deprecated.  | 
| FurnaceRecipe(NamespacedKey key,
             ItemStack result,
             RecipeChoice input,
             float experience,
             int cookingTime) | Create a furnace recipe to craft the specified ItemStack. | 
| FurnaceRecipe(NamespacedKey key,
             ItemStack result,
             Material source,
             float experience,
             int cookingTime) | Create a furnace recipe to craft the specified ItemStack. | 
| FurnaceRecipe(NamespacedKey key,
             ItemStack result,
             Material source,
             int data,
             float experience,
             int cookingTime) | Deprecated.  | 
| Modifier and Type | Method | Description | 
|---|---|---|
| int | getCookingTime() | Get the cooking time for this recipe in ticks. | 
| float | getExperience() | Get the experience given by this recipe. | 
| String | getGroup() | Get the group of this recipe. | 
| ItemStack | getInput() | Get the input material. | 
| RecipeChoice | getInputChoice() | Get the input choice. | 
| NamespacedKey | getKey() | Return the namespaced identifier for this object. | 
| ItemStack | getResult() | Get the result of this recipe. | 
| void | setCookingTime(int cookingTime) | Set the cooking time for this recipe in ticks. | 
| void | setExperience(float experience) | Sets the experience given by this recipe. | 
| void | setGroup(String group) | Set the group of this recipe. | 
| FurnaceRecipe | setInput(Material input) | Sets the input of this furnace recipe. | 
| FurnaceRecipe | setInput(MaterialData input) | Sets the input of this furnace recipe. | 
| FurnaceRecipe | setInput(Material input,
        int data) | Deprecated. 
 Magic value | 
| FurnaceRecipe | setInputChoice(RecipeChoice input) | Sets the input of this furnace recipe. | 
@Deprecated public FurnaceRecipe(@NotNull ItemStack result, @NotNull Material source)
@Deprecated public FurnaceRecipe(@NotNull ItemStack result, @NotNull MaterialData source)
@Deprecated public FurnaceRecipe(@NotNull ItemStack result, @NotNull MaterialData source, float experience)
@Deprecated public FurnaceRecipe(@NotNull ItemStack result, @NotNull Material source, int data)
public FurnaceRecipe(@NotNull
                     NamespacedKey key,
                     @NotNull
                     ItemStack result,
                     @NotNull
                     Material source,
                     float experience,
                     int cookingTime)
key - The unique recipe keyresult - The item you want the recipe to create.source - The input material.experience - The experience given by this recipecookingTime - The cooking time (in ticks)@Deprecated public FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, int data, float experience, int cookingTime)
public FurnaceRecipe(@NotNull
                     NamespacedKey key,
                     @NotNull
                     ItemStack result,
                     @NotNull
                     RecipeChoice input,
                     float experience,
                     int cookingTime)
key - The unique recipe keyresult - The item you want the recipe to create.input - The input choices.experience - The experience given by this recipecookingTime - The cooking time (in ticks)@NotNull public FurnaceRecipe setInput(@NotNull MaterialData input)
input - The input material.@NotNull public FurnaceRecipe setInput(@NotNull Material input)
input - The input material.@Deprecated @NotNull public FurnaceRecipe setInput(@NotNull Material input, int data)
input - The input material.data - The data value. (Note: This is currently ignored by the
     CraftBukkit server.)@NotNull public ItemStack getInput()
@NotNull public FurnaceRecipe setInputChoice(@NotNull RecipeChoice input)
input - The input choice.@NotNull public RecipeChoice getInputChoice()
@NotNull public ItemStack getResult()
public void setExperience(float experience)
experience - the experience levelpublic float getExperience()
public void setCookingTime(int cookingTime)
cookingTime - new cooking timepublic int getCookingTime()
@NotNull public NamespacedKey getKey()
Keyed@NotNull public String getGroup()
public void setGroup(@NotNull
                     String group)
group - recipe group. An empty string denotes no group. May not be
 null.Copyright © 2019. All rights reserved.