Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
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.)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()
Copyright © 2022. All rights reserved.