Package noppes.npcs.api.event
Interface IAbilityEvent.ToggleEvent
-
- All Superinterfaces:
IAbilityEvent,ICustomNPCsEvent,INpcEvent
- Enclosing interface:
- IAbilityEvent
public static interface IAbilityEvent.ToggleEvent extends IAbilityEvent
Fired when a toggle ability is switched ON or OFF. Canceling prevents the toggle from changing state.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface noppes.npcs.api.event.IAbilityEvent
IAbilityEvent.CompleteEvent, IAbilityEvent.ExecuteEvent, IAbilityEvent.HitEvent, IAbilityEvent.InterruptEvent, IAbilityEvent.StartEvent, IAbilityEvent.TickEvent, IAbilityEvent.ToggleEvent, IAbilityEvent.ToggleUpdateEvent
-
Nested classes/interfaces inherited from interface noppes.npcs.api.event.ICustomNPCsEvent
ICustomNPCsEvent.CNPCNaturalSpawnEvent, ICustomNPCsEvent.ScriptedCommandEvent
-
Nested classes/interfaces inherited from interface noppes.npcs.api.event.INpcEvent
INpcEvent.CollideEvent, INpcEvent.DamagedEvent, INpcEvent.DialogClosedEvent, INpcEvent.DialogEvent, INpcEvent.DiedEvent, INpcEvent.InitEvent, INpcEvent.InteractEvent, INpcEvent.KilledEntityEvent, INpcEvent.MeleeAttackEvent, INpcEvent.RangedLaunchedEvent, INpcEvent.SwingEvent, INpcEvent.TargetEvent, INpcEvent.TargetLostEvent, INpcEvent.TimerEvent, INpcEvent.UpdateEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetNewState()intgetOldState()booleanisTogglingOn()-
Methods inherited from interface noppes.npcs.api.event.IAbilityEvent
getAbility, getEntity, getPlayer, getTarget, isNPC
-
Methods inherited from interface noppes.npcs.api.event.ICustomNPCsEvent
getHookName
-
-