- All Superinterfaces:
Agent
, ArmorEquipable
, Attackable
, AttributeHolder
, CopyableDataHolder
, DataHolder
, DataHolder.Mutable
, DataSerializable
, Entity
, EntityProjectileSource
, Equipable
, Hostile
, HoverEventSource<HoverEvent.ShowEntity>
, Identifiable
, Illager
, Leashable
, Living
, Locatable
, Monster
, PathfinderAgent
, Patroller
, ProjectileSource
, Raider
, RandomProvider
, SerializableDataHolder
, SerializableDataHolder.Mutable
, Sound.Emitter
, Targeting
, 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, boundingBoxBaseSize, boundingBoxHeight, 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, adult, bodyRotations, canGrief, chestRotation, elytraFlying, headDirection, headRotation, health, 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