| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
void |
finish(CastContext context) |
int |
getActionCount() |
void |
getParameterNames(Spell spell,
Collection<String> parameters) |
void |
getParameterOptions(Spell spell,
String parameterKey,
Collection<String> examples) |
boolean |
ignoreResult() |
void |
initialize(Spell spell,
org.bukkit.configuration.ConfigurationSection baseParameters) |
boolean |
isUndoable() |
default void |
load(Mage mage,
org.bukkit.configuration.ConfigurationSection data)
Deprecated.
|
SpellResult |
perform(CastContext context) |
void |
prepare(CastContext context,
org.bukkit.configuration.ConfigurationSection parameters)
This should be used to load any parameters.
|
boolean |
requiresBreakPermission() |
boolean |
requiresBuildPermission() |
boolean |
requiresTarget() |
boolean |
requiresTargetEntity() |
void |
reset(CastContext context) |
default void |
save(Mage mage,
org.bukkit.configuration.ConfigurationSection data)
Deprecated.
|
default void |
start(CastContext context,
org.bukkit.configuration.ConfigurationSection parameters)
This is called once per spell cast, at the start of the cast.
|
String |
transformMessage(String message) |
boolean |
usesBrush() |
SpellResult perform(CastContext context)
void initialize(Spell spell, org.bukkit.configuration.ConfigurationSection baseParameters)
void prepare(CastContext context, org.bukkit.configuration.ConfigurationSection parameters)
default void start(CastContext context, org.bukkit.configuration.ConfigurationSection parameters)
void finish(CastContext context)
void reset(CastContext context)
void getParameterNames(Spell spell, Collection<String> parameters)
void getParameterOptions(Spell spell, String parameterKey, Collection<String> examples)
boolean usesBrush()
boolean isUndoable()
boolean requiresBuildPermission()
boolean requiresBreakPermission()
boolean requiresTarget()
boolean requiresTargetEntity()
boolean ignoreResult()
int getActionCount()
Object clone()
@Deprecated default void load(Mage mage, org.bukkit.configuration.ConfigurationSection data)
@Deprecated default void save(Mage mage, org.bukkit.configuration.ConfigurationSection data)
Copyright © 2021 elMakers. All rights reserved.