Class PrePylonBlockBreakEvent
-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
public final class PrePylonBlockBreakEvent extends Event implements Cancellable
Called before a PylonBlock has been broken.
-
-
Constructor Summary
Constructors Constructor Description PrePylonBlockBreakEvent(Block block, PylonBlock pylonBlock, BlockBreakContext context)
-
Method Summary
Modifier and Type Method Description final BlockgetBlock()final PylonBlockgetPylonBlock()final BlockBreakContextgetContext()BooleanisCancelled()voidsetCancelled(Boolean cancel)HandlerListgetHandlers()final static HandlerListgetHandlerList()-
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous -
Methods inherited from class io.github.pylonmc.pylon.core.event.PrePylonBlockBreakEvent
getHandlers, isCancelled, setCancelled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PrePylonBlockBreakEvent
PrePylonBlockBreakEvent(Block block, PylonBlock pylonBlock, BlockBreakContext context)
-
-
Method Detail
-
getPylonBlock
final PylonBlock getPylonBlock()
-
getContext
final BlockBreakContext getContext()
-
isCancelled
Boolean isCancelled()
-
setCancelled
void setCancelled(Boolean cancel)
-
getHandlers
HandlerList getHandlers()
-
getHandlerList
final static HandlerList getHandlerList()
-
-
-
-