![]() |
Bukkit
1.5.2-R1.0
|
Represents a smelting recipe. More...
Inheritance diagram for org.bukkit.inventory.FurnaceRecipe:
Collaboration diagram for org.bukkit.inventory.FurnaceRecipe:Public Member Functions | |
| 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) | |
| Create a furnace recipe to craft the specified ItemStack. | |
| FurnaceRecipe | setInput (MaterialData input) |
| Sets the input of this furnace recipe. | |
| FurnaceRecipe | setInput (Material input) |
| Sets the input of this furnace recipe. | |
| FurnaceRecipe | setInput (Material input, int data) |
| Sets the input of this furnace recipe. | |
| ItemStack | getInput () |
| Get the input material. | |
| ItemStack | getResult () |
| Get the result of this recipe. | |
Public Member Functions inherited from org.bukkit.inventory.Recipe | |
| ItemStack | getResult () |
| Get the result of this recipe. | |
Represents a smelting recipe.
Definition at line 9 of file FurnaceRecipe.java.
Create a furnace recipe to craft the specified ItemStack.
| result | The item you want the recipe to create. |
| source | The input material. |
Definition at line 19 of file FurnaceRecipe.java.
| org.bukkit.inventory.FurnaceRecipe.FurnaceRecipe | ( | ItemStack | result, |
| MaterialData | source | ||
| ) |
Create a furnace recipe to craft the specified ItemStack.
| result | The item you want the recipe to create. |
| source | The input material. |
Definition at line 29 of file FurnaceRecipe.java.
References org.bukkit.material.MaterialData.getData(), and org.bukkit.material.MaterialData.getItemType().
Create a furnace recipe to craft the specified ItemStack.
| 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.) |
Definition at line 40 of file FurnaceRecipe.java.
| ItemStack org.bukkit.inventory.FurnaceRecipe.getInput | ( | ) |
Get the input material.
Definition at line 82 of file FurnaceRecipe.java.
References org.bukkit.inventory.ItemStack.clone().
| ItemStack org.bukkit.inventory.FurnaceRecipe.getResult | ( | ) |
Get the result of this recipe.
Definition at line 91 of file FurnaceRecipe.java.
References org.bukkit.inventory.ItemStack.clone().
| FurnaceRecipe org.bukkit.inventory.FurnaceRecipe.setInput | ( | MaterialData | input | ) |
Sets the input of this furnace recipe.
| input | The input material. |
Definition at line 51 of file FurnaceRecipe.java.
References org.bukkit.material.MaterialData.getData(), and org.bukkit.material.MaterialData.getItemType().
Referenced by org.bukkit.inventory.FurnaceRecipe.setInput().
| FurnaceRecipe org.bukkit.inventory.FurnaceRecipe.setInput | ( | Material | input | ) |
Sets the input of this furnace recipe.
| input | The input material. |
Definition at line 61 of file FurnaceRecipe.java.
References org.bukkit.inventory.FurnaceRecipe.setInput().
| FurnaceRecipe org.bukkit.inventory.FurnaceRecipe.setInput | ( | Material | input, |
| int | data | ||
| ) |
Sets the input of this furnace recipe.
| input | The input material. |
| data | The data value. (Note: This is currently ignored by the CraftBukkit server.) |
Definition at line 72 of file FurnaceRecipe.java.