| 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,
             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. | 
| java.lang.String | getGroup() | Get the group of this recipe. | 
| ItemStack | getInput() | Get the input material. | 
| 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(java.lang.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 | 
@Deprecated public FurnaceRecipe(ItemStack result, MaterialData source)
@Deprecated public FurnaceRecipe(ItemStack result, MaterialData source, float experience)
@Deprecated public FurnaceRecipe(ItemStack result, Material source, int data)
public FurnaceRecipe(NamespacedKey key, ItemStack result, 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(NamespacedKey key, ItemStack result, Material source, int data, float experience, int cookingTime)
public FurnaceRecipe setInput(MaterialData input)
input - The input material.public FurnaceRecipe setInput(Material input)
input - The input material.@Deprecated public FurnaceRecipe setInput(Material input, int data)
input - The input material.data - The data value. (Note: This is currently ignored by the
     CraftBukkit server.)public ItemStack getInput()
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()
public NamespacedKey getKey()
Keyedpublic java.lang.String getGroup()
public void setGroup(java.lang.String group)
group - recipe group. An empty string denotes no group. May not be
 null.Copyright © 2018. All rights reserved.