public interface SpellTemplate extends Comparable<SpellTemplate>, CostReducer
compareTogetConsumeReduction, getCostReduction, getCostScale, isConsumeFree, isCostFreeString getName()
String getAlias()
String getDescription()
String getExtendedDescription()
String getLevelDescription()
int getMaxCharges()
double getChargeRegeneration()
String getKey()
SpellKey getSpellKey()
@Nullable org.bukkit.Color getColor()
@Nullable Cost getCost()
double getWorth()
double getEarns()
double getRange()
SpellCategory getCategory()
long getCastCount()
void setCastCount(long count)
String getUsage()
MaterialAndData getIcon()
MaterialAndData getDisabledIcon()
String getIconURL()
String getDisabledIconURL()
boolean hasIcon()
boolean hasCastPermission(org.bukkit.command.CommandSender sender)
@Nullable Collection<CastingCost> getCosts()
@Nullable Collection<CastingCost> getActiveCosts()
Collection<EffectPlayer> getEffects(SpellResult result)
Collection<EffectPlayer> getEffects(String effectsKey)
long getDuration()
long getCooldown()
@Nullable @Deprecated Spell createSpell()
void loadTemplate(String key, org.bukkit.configuration.ConfigurationSection node)
void loadPrerequisites(org.bukkit.configuration.ConfigurationSection node)
String getPermissionNode()
boolean isHidden()
boolean usesBrush()
boolean usesBrushSelection()
boolean showBrush()
boolean isUndoable()
boolean showUndoable()
boolean isScheduledUndo()
boolean isQuickCast()
boolean disableManaRegenerationWhenActive()
String getRequiredUpgradePath()
long getRequiredUpgradeCasts()
Collection<PrerequisiteSpell> getPrerequisiteSpells()
Collection<SpellKey> getSpellsToRemove()
String getUpgradeDescription()
org.bukkit.configuration.ConfigurationSection getConfiguration()
boolean hasTag(String tag)
boolean hasAnyTag(Collection<String> tags)
@Nullable SpellTemplate getUpgrade()
long getMaxProgressLevel()
This may return 0 even though a spell's current progress level is always 1 or greater. A result of 0 indicates that progress levels are not used for this spell.
org.bukkit.configuration.ConfigurationSection getSpellParameters()
void getParameters(Collection<String> parameters)
parameters - A non-null collection of spell parameters to add to.void getParameterOptions(Collection<String> examples, String parameterKey)
examples - A collection of strings to add possible parameter values toparameterKey - The parameter for which to retrieve example options.Collection<Requirement> getRequirements()
@Nullable String getCreatorId()
boolean isToggleable()
boolean isPassive()
boolean isQuiet()
@Nullable Collection<Trigger> getTriggers()
Copyright © 2021 elMakers. All rights reserved.