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 TypeMethodDescriptionbooleanbooleanvoidrun()voidsetCancelled(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:
isCancelledin interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelledin interfaceCancellable
-
run
public void run() -
isSynchronous
public boolean isSynchronous()
-