Class CastSpellEvent
- java.lang.Object
-
- net.eternalclient.api.events.AbstractEvent
-
- net.eternalclient.api.events.magic.CastSpellEvent
-
public class CastSpellEvent extends AbstractEvent
This class represents an event for casting a spell.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CastSpellEvent.State
-
Constructor Summary
Constructors Constructor Description CastSpellEvent(Spell spell)
CastSpellEvent(Spell spell, java.lang.String action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CastSpellEvent
on(Entity entity)
CastSpellEvent
on(Item item)
int
onLoop()
CastSpellEvent
skipRunesCheck()
-
Methods inherited from class net.eternalclient.api.events.AbstractEvent
execute, executed, getActiveEvent, getCompleteMessage, getDefaultEventTimeout, getEventCompleteCondition, getEventCompleteTimeout, getEventInterruptCondition, getEventTimeout, getFailMessage, getRunLoggedOut, isEventCompleted, isEventFailed, isEventInterrupted, onComplete, onEventExit, onEventStart, onFail, onStart, onStop, setActiveEvent, setCompleted, setCompleted, setEventCompleteCondition, setEventCompleteCondition, setEventCompleted, setEventFailed, setEventInterruptCondition, setEventInterrupted, setEventLoginHandler, setEventTimeout, setExecutionDelay, setExecutionDelay, setExecutionTickDelay, setExecutionTickDelay, setFailed, setFailed, setInteractionMode, setLoggedOutRunnable, setLoggedOutRunnable, setReturnDelay, setReturnDelay, setReturnDelay, setReturnDelay, setReturnTickDelay, setReturnTickDelay, setReturnTickDelay, setReturnTickDelay, setRunLoggedOut, setRunLoggedOut, setSleep, shouldInterrupt, sleep, sleepAFK, sleepLowPredictable, sleepNormal, sleepPredictable
-
-
-
-
Method Detail
-
on
public CastSpellEvent on(Entity entity)
-
on
public CastSpellEvent on(Item item)
-
skipRunesCheck
public CastSpellEvent skipRunesCheck()
-
onLoop
public int onLoop()
- Specified by:
onLoop
in classAbstractEvent
-
-