| Package | Description |
|---|---|
| com.elmakers.mine.bukkit.api.action | |
| com.elmakers.mine.bukkit.api.event | |
| com.elmakers.mine.bukkit.api.magic | |
| com.elmakers.mine.bukkit.api.spell |
| Modifier and Type | Method and Description |
|---|---|
SpellResult |
CastContext.getResult() |
SpellResult |
ActionHandler.perform(CastContext context) |
SpellResult |
SpellAction.perform(CastContext context) |
SpellResult |
CastContext.processHandlers() |
| Modifier and Type | Method and Description |
|---|---|
void |
CastContext.addResult(SpellResult result) |
void |
CastContext.setInitialResult(SpellResult result) |
void |
CastContext.setResult(SpellResult result) |
| Modifier and Type | Method and Description |
|---|---|
SpellResult |
StartCastEvent.getInitialResult() |
SpellResult |
CastEvent.getSpellResult() |
| Constructor and Description |
|---|
CastEvent(Mage mage,
Spell spell,
SpellResult result) |
StartCastEvent(Mage mage,
Spell spell,
SpellResult result,
boolean success) |
| Modifier and Type | Method and Description |
|---|---|
void |
Mage.onCast(Spell spell,
SpellResult result)
This should be called by a Spell upon
casting, to notify the Mage that it cast a spell.
|
| Modifier and Type | Method and Description |
|---|---|
SpellResult |
SpellResult.max(SpellResult other) |
SpellResult |
SpellResult.min(SpellResult other) |
static SpellResult |
SpellResult.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpellResult[] |
SpellResult.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<EffectPlayer> |
SpellTemplate.getEffects(SpellResult result) |
SpellResult |
SpellResult.max(SpellResult other) |
SpellResult |
SpellResult.min(SpellResult other) |
Copyright © 2021 elMakers. All rights reserved.