Package org.bukkit.event.block
Class BrewingStartEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.InventoryBlockStartEvent
org.bukkit.event.block.BrewingStartEvent
Called when a brewing stand starts to brew.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.block.BlockEvent
block
-
Constructor Summary
ConstructorDescriptionBrewingStartEvent
(@NotNull Block furnace, @NotNull ItemStack source, int brewingTime) -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the total brew time associated with this event.void
setTotalBrewTime
(int brewTime) Sets the total brew time for this event.Methods inherited from class org.bukkit.event.block.InventoryBlockStartEvent
getHandlerList, getHandlers, getSource
Methods inherited from class org.bukkit.event.block.BlockEvent
getBlock
Methods inherited from class org.bukkit.event.Event
asynchronous, callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BrewingStartEvent
-
-
Method Details
-
getTotalBrewTime
public int getTotalBrewTime()Gets the total brew time associated with this event.- Returns:
- the total brew time
-
setTotalBrewTime
public void setTotalBrewTime(int brewTime) Sets the total brew time for this event.- Parameters:
brewTime
- the new total brew time
-