- All Superinterfaces:
Agent
, ArmorEquipable
, AttributeHolder
, CopyableDataHolder
, Creature
, DataHolder
, DataHolder.Mutable
, DataSerializable
, Entity
, EntityProjectileSource
, Equipable
, Hostile
, HoverEventSource<HoverEvent.ShowEntity>
, Identifiable
, Illager
, Living
, Locatable
, Monster
, Patroller
, ProjectileSource
, Raider
, RandomProvider
, SerializableDataHolder
, SerializableDataHolder.Mutable
, Sound.Emitter
, TeamMember
, ValueContainer
- All Known Subinterfaces:
Evoker
, Illusioner
public interface Spellcaster
extends Illager
-
-
Method Summary
Methods inherited from interface org.spongepowered.api.item.inventory.ArmorEquipable
chest, feet, head, itemInHand, itemInHand, legs, setChest, setFeet, setHead, setItemInHand, setItemInHand, setLegs
Methods inherited from interface org.spongepowered.api.data.DataHolder.Mutable
copyFrom, copyFrom, offer, offer, offer, offer, offerAll, offerAll, offerAll, offerAll, offerAll, offerAll, offerSingle, offerSingle, offerSingle, offerSingle, remove, remove, remove, removeAll, removeAll, removeAll, removeAll, removeAll, removeAll, removeKey, removeKey, removeSingle, removeSingle, transform, transform, tryOffer, tryOffer, tryOffer, undo
Methods inherited from interface org.spongepowered.api.entity.Entity
age, asHoverEvent, baseSize, baseVehicle, boundingBox, canSee, copy, createArchetype, createSnapshot, creator, customName, customNameVisible, damage, damage, direction, displayName, eyeHeight, eyePosition, fallDistance, fireImmuneTicks, fireTicks, frozenTime, glowing, gravityAffected, height, invisible, invulnerabilityTicks, invulnerable, isLoaded, isRemoved, isTransient, lookAt, maxAir, maxFrozenTime, nearbyEntities, nearbyEntities, notifier, onGround, passengers, position, remainingAir, remove, rotation, scale, scoreboardTags, setLocation, setLocationAndRotation, setLocationAndRotation, setPosition, setRotation, setScale, setTransform, silent, sneaking, sprinting, swiftness, transferToWorld, transferToWorld, transform, type, vanishState, vehicle, velocity, wet
Methods inherited from interface org.spongepowered.api.entity.living.Living
absorption, activeItem, bodyRotations, canGrief, chestRotation, elytraFlying, headDirection, headRotation, health, lastAttacker, lastDamageReceived, maxHealth, potionEffects, stuckArrows, walkingSpeed
Methods inherited from interface org.spongepowered.api.data.value.ValueContainer
get, getDouble, getInt, getKeys, getLong, getOrElse, getOrNull, getValue, getValues, require, requireValue, supports, supports
-
Method Details
-
currentSpell
- Returns:
- The current spell being casted
- See Also:
-
-
castingTime
- Returns:
- The time to cast
-
castSpell
void castSpell(boolean castSpell)
- Parameters:
castSpell
- Whether to cast spell or not