Package org.highlife.api.methods.magic
Class Magic
java.lang.Object
org.highlife.api.methods.magic.Magic
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleanstatic booleanstatic booleanstatic booleancastSpellOn(Spell spell, Entity entity) static booleancastSpellOn(Spell spell, Item item) static booleandeselect()static Spellstatic Stringstatic Spellbookstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleansetAutocastSpell(Spell spell) static booleansetDefensiveAutocastSpell(Spell spell) static booleansetSpellFilteringEnabled(boolean enabled)
-
Constructor Details
-
Magic
public Magic()
-
-
Method Details
-
interact
-
castSpell
-
castSpell
-
castSpellOn
-
castSpellOn
-
isSpellSelected
public static boolean isSpellSelected() -
getSelectedSpellName
-
canCast
-
canCast
-
deselect
public static boolean deselect() -
getAutocastSpell
-
isAutocasting
public static boolean isAutocasting() -
isAutocastDefensive
public static boolean isAutocastDefensive() -
setDefensiveAutocastSpell
-
setAutocastSpell
-
isSpellFilteringEnabled
public static boolean isSpellFilteringEnabled() -
setSpellFilteringEnabled
public static boolean setSpellFilteringEnabled(boolean enabled) -
getSpellbook
-