Package | Description |
---|---|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.entity |
Modifier and Type | Method and Description |
---|---|
@NotNull Spellcaster.Spell |
Spellcaster.getSpell()
Gets the
Spellcaster.Spell the entity is currently using. |
static Spellcaster.Spell |
Spellcaster.Spell.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Spellcaster.Spell[] |
Spellcaster.Spell.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Spellcaster.setSpell(@NotNull Spellcaster.Spell spell)
Sets the
Spellcaster.Spell the entity is currently using. |
Modifier and Type | Method and Description |
---|---|
Spellcaster.Spell |
EntitySpellCastEvent.getSpell()
Get the spell to be cast in this event.
|
Constructor and Description |
---|
EntitySpellCastEvent(@NotNull Spellcaster what,
Spellcaster.Spell spell) |
Copyright © 2021. All rights reserved.