Class DomainFieldCreateEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- work.torp.domain.api.events.domain.DomainFieldCreateEvent
-
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public final class DomainFieldCreateEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
-
-
Constructor Summary
Constructors Constructor Description DomainFieldCreateEvent(org.bukkit.entity.Player player, org.bukkit.block.Block block, java.lang.String domainBlockKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCancelReason()
static org.bukkit.event.HandlerList
getHandlerList()
org.bukkit.event.HandlerList
getHandlers()
boolean
isCancelled()
void
setCancelled(boolean cancel)
-
-
-
Method Detail
-
getCancelReason
public java.lang.String getCancelReason()
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancel)
- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()
- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-
-