Package wtf.choco.alchema.api.event
Class CauldronBubbleEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
wtf.choco.alchema.api.event.CauldronEvent
wtf.choco.alchema.api.event.CauldronBubbleEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class CauldronBubbleEvent extends CauldronEvent implements org.bukkit.event.Cancellable
Called when an
AlchemicalCauldron
begins to bubble.- Author:
- Parker Hawke - Choco
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
Constructors Constructor Description CauldronBubbleEvent(@NotNull AlchemicalCauldron cauldron)
Construct a newCauldronBubbleEvent
. -
Method Summary
Modifier and Type Method Description static @NotNull org.bukkit.event.HandlerList
getHandlerList()
Get the HandlerList instance for this event.@NotNull org.bukkit.event.HandlerList
getHandlers()
boolean
isCancelled()
void
setCancelled(boolean cancelled)
Methods inherited from class wtf.choco.alchema.api.event.CauldronEvent
getCauldron
Methods inherited from class org.bukkit.event.block.BlockEvent
getBlock
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CauldronBubbleEvent
Construct a newCauldronBubbleEvent
.- Parameters:
cauldron
- the cauldron that began bubbling
-
-
Method Details
-
setCancelled
public void setCancelled(boolean cancelled)- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()Get the HandlerList instance for this event.- Returns:
- the handler list
-