Class WizardryEvent
java.lang.Object
com.binaris.wizardry.api.content.event.abstr.WizardryEvent
- All Implemented Interfaces:
IWizardryEvent
- Direct Known Subclasses:
EBClientTickEvent,EBLivingDeathEvent,EBLivingTick,EBPlayerJoinServerEvent,EBServerLevelLoadEvent
Base event class to use if you want to create custom events
Just make a new subclass with this and fire the event when you need it
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal booleanfinal voidsetCanceled(boolean cancel)
-
Constructor Details
-
WizardryEvent
public WizardryEvent()
-
-
Method Details
-
canBeCanceled
public final boolean canBeCanceled()- Specified by:
canBeCanceledin interfaceIWizardryEvent
-
isCanceled
public final boolean isCanceled()- Specified by:
isCanceledin interfaceIWizardryEvent
-
setCanceled
public final void setCanceled(boolean cancel) - Specified by:
setCanceledin interfaceIWizardryEvent
-