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 a Furnace starts smelting.
- 
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(Block furnace, ItemStack source, CookingRecipe<?> recipe) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic HandlerListGets 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.InventoryBlockStartEventgetSourceMethods inherited from class org.bukkit.event.block.BlockEventgetBlockMethods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
FurnaceStartSmeltEventpublic FurnaceStartSmeltEvent(@NotNull Block furnace, @NotNull ItemStack source, @NotNull CookingRecipe<?> recipe) 
 
- 
- 
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
 
- 
getHandlers- Overrides:
- getHandlersin class- InventoryBlockStartEvent
 
- 
getHandlerList
 
-