public interface CasterProperties extends MagicConfigurable
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Wand other) |
boolean |
addBrush(String key) |
boolean |
addItem(org.bukkit.inventory.ItemStack item) |
boolean |
addSpell(String spellKey) |
boolean |
canProgress() |
boolean |
checkAndUpgrade(boolean quiet)
Checks if this caster can be upgraded to the next
ProgressionPath and if so upgrades it. |
boolean |
forceAddSpell(String key)
Adds a spell to an otherwise locked set of properties
|
Double |
getAttribute(String attributeKey) |
Collection<String> |
getBrushes() |
MageController |
getController() |
org.bukkit.Color |
getEffectColor() |
int |
getEffectiveManaMax() |
int |
getEffectiveManaRegeneration() |
String |
getEffectParticleName() |
int |
getLevel() |
Mage |
getMage() |
float |
getMana() |
int |
getManaMax() |
int |
getManaRegeneration() |
int |
getMaxSpells() |
ProgressionPath |
getPath() |
Spell |
getSpell(String spellKey)
Returns a Spell for a given spell key, if this caster has the spell.
|
int |
getSpellLevel(String spellKey) |
Collection<String> |
getSpells() |
SpellTemplate |
getSpellTemplate(String spellKey)
Returns the SpellTemplate representing the requested spell key at the correct level.
|
boolean |
hasBrush(String brushKey) |
boolean |
hasSpell(String spellKey) |
boolean |
isConsumeFree() |
boolean |
isCooldownFree() |
boolean |
isCostFree() |
int |
randomize(int totalLevels,
boolean addSpells) |
void |
removeMana(float mana) |
void |
sendMessageKey(String messageKey,
String... parameters) |
void |
setAttribute(String attributeKey,
Double attributeValue) |
void |
setMana(float mana) |
void |
setManaMax(float manaMax) |
void |
setManaMax(int manaMax)
Deprecated.
|
void |
setManaRegeneration(float manaRegeneration) |
void |
setManaRegeneration(int manaRegeneration)
Deprecated.
|
void |
setPath(String path) |
boolean |
setSpellLevel(String spellKey,
int level) |
boolean |
setSpelLLevel(String spellKey,
int level)
Deprecated.
|
boolean |
upgradesAllowed() |
configure, configure, getStorage, removeProperty, upgrade, upgradedescribe, describe, getBoolean, getBoolean, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getProperty, getProperty, getProperty, getSectionList, getString, getString, getStringList, hasProperty, isEmptyMageController getController()
boolean hasSpell(String spellKey)
boolean hasBrush(String brushKey)
Collection<String> getSpells()
Collection<String> getBrushes()
boolean addSpell(String spellKey)
boolean addBrush(String key)
int getMaxSpells()
@Deprecated boolean setSpelLLevel(String spellKey, int level)
boolean setSpellLevel(String spellKey, int level)
int getSpellLevel(String spellKey)
Mage getMage()
void removeMana(float mana)
float getMana()
int getManaMax()
int getEffectiveManaMax()
void setMana(float mana)
@Deprecated void setManaMax(int manaMax)
void setManaMax(float manaMax)
int getManaRegeneration()
int getEffectiveManaRegeneration()
@Deprecated void setManaRegeneration(int manaRegeneration)
void setManaRegeneration(float manaRegeneration)
@Nullable ProgressionPath getPath()
int getLevel()
void setPath(String path)
boolean canProgress()
boolean addItem(org.bukkit.inventory.ItemStack item)
boolean add(Wand other)
boolean upgradesAllowed()
boolean forceAddSpell(String key)
@Nullable Spell getSpell(String spellKey)
Will return the correct spell level for the given spell, regardless of the level requested.
spellKey - The spell key to request@Nullable SpellTemplate getSpellTemplate(String spellKey)
spellKey - The key of the spell being requestedboolean checkAndUpgrade(boolean quiet)
ProgressionPath and if so upgrades it.boolean isCostFree()
boolean isConsumeFree()
boolean isCooldownFree()
int randomize(int totalLevels,
boolean addSpells)
@Nullable org.bukkit.Color getEffectColor()
Copyright © 2021 elMakers. All rights reserved.