Package com.kamikazejam.kamicommon.event
Class KamiCommonEvent
java.lang.Object
org.bukkit.event.Event
com.kamikazejam.kamicommon.event.KamiCommonEvent
- All Implemented Interfaces:
Runnable
,Cancellable
- Direct Known Subclasses:
PlayerPSTeleportEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
run()
void
setCancelled
(boolean cancelled) Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
-
Constructor Details
-
KamiCommonEvent
public KamiCommonEvent() -
KamiCommonEvent
public KamiCommonEvent(boolean isAsync)
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceCancellable
-
run
public void run() -
isSynchronous
public boolean isSynchronous()
-