Package net.storm.api.magic
Interface IMagic
-
public interface IMagic
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
cast(InteractMethod interactMethod, Spell spell)
void
cast(InteractMethod interactMethod, Spell spell, int actionIndex)
void
cast(InteractMethod interactMethod, Spell spell, java.lang.String action)
void
cast(InteractMethod interactMethod, Spell spell, INPC target)
void
cast(InteractMethod interactMethod, Spell spell, IPlayer target)
void
cast(InteractMethod interactMethod, Spell spell, IItem target)
void
cast(InteractMethod interactMethod, Spell spell, ITileItem target)
void
cast(InteractMethod interactMethod, Spell spell, ITileObject target)
default void
cast(Spell spell)
default void
cast(Spell spell, int actionIndex)
default void
cast(Spell spell, java.lang.String action)
default void
cast(Spell spell, INPC target)
default void
cast(Spell spell, IPlayer target)
default void
cast(Spell spell, IItem target)
default void
cast(Spell spell, ITileItem target)
default void
cast(Spell spell, ITileObject target)
java.time.Instant
getLastHomeTeleportUsage()
boolean
isAutoCasting()
boolean
isAutoCasting(Spell spell)
boolean
isHomeTeleportOnCooldown()
boolean
isSpellSelected(Spell spell)
void
selectSpell(Spell spell)
void
setAutoCast(Spell spell, boolean defensive)
-
-
-
Method Detail
-
isAutoCasting
boolean isAutoCasting(Spell spell)
-
isAutoCasting
boolean isAutoCasting()
-
isSpellSelected
boolean isSpellSelected(Spell spell)
-
cast
void cast(InteractMethod interactMethod, Spell spell, IItem target)
-
cast
void cast(InteractMethod interactMethod, Spell spell, INPC target)
-
cast
void cast(InteractMethod interactMethod, Spell spell, IPlayer target)
-
cast
void cast(InteractMethod interactMethod, Spell spell, ITileItem target)
-
cast
void cast(InteractMethod interactMethod, Spell spell, ITileObject target)
-
cast
default void cast(Spell spell, ITileObject target)
-
cast
void cast(InteractMethod interactMethod, Spell spell)
-
cast
default void cast(Spell spell)
-
cast
void cast(InteractMethod interactMethod, Spell spell, java.lang.String action)
-
cast
default void cast(Spell spell, java.lang.String action)
-
cast
void cast(InteractMethod interactMethod, Spell spell, int actionIndex)
-
cast
default void cast(Spell spell, int actionIndex)
-
selectSpell
void selectSpell(Spell spell)
-
getLastHomeTeleportUsage
java.time.Instant getLastHomeTeleportUsage()
-
isHomeTeleportOnCooldown
boolean isHomeTeleportOnCooldown()
-
setAutoCast
void setAutoCast(Spell spell, boolean defensive)
-
-