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 Event
Event.Result -
Field Summary
Fields inherited from class BlockEvent
block -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListintGets the total brew time associated with this event.voidsetTotalBrewTime(int brewTime) Sets the total brew time for this event.Methods inherited from class InventoryBlockStartEvent
getSourceMethods inherited from class BlockEvent
getBlockMethods inherited from class Event
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
-
getHandlers
- Overrides:
getHandlersin classInventoryBlockStartEvent
-
getHandlerList
-