Package noppes.npcs.api.event
Interface IAbilityEvent.ToggleUpdateEvent
-
- All Superinterfaces:
IAbilityEvent,ICustomNPCsEvent,INpcEvent
- Enclosing interface:
- IAbilityEvent
public static interface IAbilityEvent.ToggleUpdateEvent extends IAbilityEvent
Fired every 10 ticks for each active toggle ability. Scripts can call setEnabled(false) to force-deactivate.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface noppes.npcs.api.event.IAbilityEvent
IAbilityEvent.CompleteEvent, IAbilityEvent.DefendEvent, 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 intgetState()intgetTick()booleanisEnabled()voidsetEnabled(boolean enabled)-
Methods inherited from interface noppes.npcs.api.event.IAbilityEvent
getAbility, getEntity, getPlayer, getTarget, isNPC
-
Methods inherited from interface noppes.npcs.api.event.ICustomNPCsEvent
getHookName
-
-