| Package | Description |
|---|---|
| com.elmakers.mine.bukkit.api.action | |
| com.elmakers.mine.bukkit.api.block | |
| com.elmakers.mine.bukkit.api.event | |
| com.elmakers.mine.bukkit.api.spell |
| Modifier and Type | Method and Description |
|---|---|
CastContext |
CastContext.getBaseContext() |
CastContext |
CastContext.getParent() |
| Modifier and Type | Method and Description |
|---|---|
void |
ActionHandler.finish(CastContext context) |
void |
SpellAction.finish(CastContext context) |
SpellResult |
ActionHandler.perform(CastContext context) |
SpellResult |
SpellAction.perform(CastContext context) |
void |
ActionHandler.prepare(CastContext context,
org.bukkit.configuration.ConfigurationSection parameters) |
void |
SpellAction.prepare(CastContext context,
org.bukkit.configuration.ConfigurationSection parameters)
This should be used to load any parameters.
|
void |
SpellAction.reset(CastContext context) |
default void |
SpellAction.start(CastContext context,
org.bukkit.configuration.ConfigurationSection parameters)
This is called once per spell cast, at the start of the cast.
|
| Modifier and Type | Method and Description |
|---|---|
CastContext |
UndoList.getContext() |
| Modifier and Type | Method and Description |
|---|---|
CastContext |
CastEvent.getContext() |
| Constructor and Description |
|---|
CastEvent(CastContext context) |
| Modifier and Type | Method and Description |
|---|---|
CastContext |
Spell.getCurrentCast() |
| Modifier and Type | Method and Description |
|---|---|
void |
Spell.finish(CastContext context) |
void |
Spell.playEffects(String effectName,
CastContext context) |
void |
Spell.playEffects(String effectName,
CastContext context,
float scale) |
default void |
Spell.reloadParameters(CastContext context) |
Copyright © 2021 elMakers. All rights reserved.