Package org.bukkit.event.inventory
Class FurnaceStartSmeltEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.InventoryBlockStartEvent
org.bukkit.event.inventory.FurnaceStartSmeltEvent
Called when any of the furnace-like blocks start smelting.
 
 Furnace-like blocks are Furnace,
 Smoker, and BlastFurnace.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.block.BlockEventblock
- 
Constructor SummaryConstructorsConstructorDescriptionFurnaceStartSmeltEvent(@NotNull Block furnace, @NotNull ItemStack source, @NotNull CookingRecipe<?> recipe) Deprecated.FurnaceStartSmeltEvent(@NotNull Block furnace, @NotNull ItemStack source, @NotNull CookingRecipe<?> recipe, int cookingTime) 
- 
Method SummaryModifier and TypeMethodDescriptionGets the FurnaceRecipe associated with this eventintGets the total cook time associated with this eventvoidsetTotalCookTime(int cookTime) Sets the total cook time for this eventMethods inherited from class org.bukkit.event.block.InventoryBlockStartEventgetHandlerList, getHandlers, getSourceMethods inherited from class org.bukkit.event.block.BlockEventgetBlockMethods inherited from class org.bukkit.event.EventcallEvent, getEventName, isAsynchronous
- 
Constructor Details- 
FurnaceStartSmeltEvent@Deprecated public FurnaceStartSmeltEvent(@NotNull @NotNull Block furnace, @NotNull @NotNull ItemStack source, @NotNull @NotNull CookingRecipe<?> recipe) Deprecated.
- 
FurnaceStartSmeltEvent
 
- 
- 
Method Details- 
getRecipeGets the FurnaceRecipe associated with this event- Returns:
- the FurnaceRecipe being cooked
 
- 
getTotalCookTimepublic int getTotalCookTime()Gets the total cook time associated with this event- Returns:
- the total cook time
 
- 
setTotalCookTimepublic void setTotalCookTime(int cookTime) Sets the total cook time for this event- Parameters:
- cookTime- the new total cook time
 
 
-