|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bukkit.inventory.FurnaceRecipe
public class FurnaceRecipe
Represents a smelting recipe.
Constructor Summary | |
---|---|
FurnaceRecipe(ItemStack result,
Material source)
Create a furnace recipe to craft the specified ItemStack. |
|
FurnaceRecipe(ItemStack result,
MaterialData source)
Create a furnace recipe to craft the specified ItemStack. |
|
FurnaceRecipe(ItemStack result,
Material source,
int data)
Deprecated. Magic value |
Method Summary | |
---|---|
ItemStack |
getInput()
Get the input material. |
ItemStack |
getResult()
Get the result 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FurnaceRecipe(ItemStack result, Material source)
result
- The item you want the recipe to create.source
- The input material.public FurnaceRecipe(ItemStack result, MaterialData source)
result
- The item you want the recipe to create.source
- The input material.@Deprecated public FurnaceRecipe(ItemStack result, Material source, int data)
result
- The item you want the recipe to create.source
- The input material.data
- The data value. (Note: This is currently ignored by the CraftBukkit server.)Method Detail |
---|
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()
getResult
in interface Recipe
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |