Package org.bukkit.inventory
Class FurnaceRecipe
Represents a furnace recipe.
- 
Constructor SummaryConstructorsConstructorDescriptionFurnaceRecipe(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.
- 
Method SummaryModifier and TypeMethodDescriptionSets the input of this cooking recipe.setInput(MaterialData input) Sets the input of this furnace recipe.Deprecated.Magic valuesetInputChoice(RecipeChoice input) Sets the input of this cooking recipe.Methods inherited from class org.bukkit.inventory.CookingRecipegetCookingTime, getExperience, getGroup, getInput, getInputChoice, getKey, getResult, setCookingTime, setExperience, setGroup
- 
Constructor Details- 
FurnaceRecipeDeprecated.
- 
FurnaceRecipeDeprecated.
- 
FurnaceRecipe@Deprecated public FurnaceRecipe(@NotNull ItemStack result, @NotNull MaterialData source, float experience) Deprecated.
- 
FurnaceRecipeDeprecated.
- 
FurnaceRecipepublic FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime) Create a furnace recipe to craft the specified ItemStack.- Parameters:
- key- The unique recipe key
- result- The item you want the recipe to create.
- source- The input material.
- experience- The experience given by this recipe
- cookingTime- The cooking time (in ticks)
 
- 
FurnaceRecipe@Deprecated public FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, int data, float experience, int cookingTime) Deprecated.
- 
FurnaceRecipepublic FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) Create a furnace recipe to craft the specified ItemStack.- Parameters:
- key- The unique recipe key
- result- The item you want the recipe to create.
- input- The input choices.
- experience- The experience given by this recipe
- cookingTime- The cooking time (in ticks)
 
 
- 
- 
Method Details- 
setInputSets the input of this furnace recipe.- Parameters:
- input- The input material.
- Returns:
- The changed recipe, so you can chain calls.
 
- 
setInputDescription copied from class:CookingRecipeSets the input of this cooking recipe.- Overrides:
- setInputin class- CookingRecipe<FurnaceRecipe>
- Parameters:
- input- The input material.
- Returns:
- The changed recipe, so you can chain calls.
 
- 
setInputDeprecated.Magic valueSets the input of this furnace recipe.- Parameters:
- input- The input material.
- data- The data value. (Note: This is currently ignored by the CraftBukkit server.)
- Returns:
- The changed recipe, so you can chain calls.
 
- 
setInputChoiceDescription copied from class:CookingRecipeSets the input of this cooking recipe.- Overrides:
- setInputChoicein class- CookingRecipe<FurnaceRecipe>
- Parameters:
- input- The input choice.
- Returns:
- The changed recipe, so you can chain calls.
 
 
-