- All Superinterfaces:
Ageable
, Agent
, Animal
, ArmorEquipable
, AttributeHolder
, CopyableDataHolder
, DataHolder
, DataHolder.Mutable
, DataSerializable
, Entity
, EntityProjectileSource
, Equipable
, HoverEventSource<HoverEvent.ShowEntity>
, Identifiable
, Living
, Locatable
, ProjectileSource
, RandomProvider
, SerializableDataHolder
, SerializableDataHolder.Mutable
, Sittable
, Sound.Emitter
, TeamMember
, ValueContainer
- All Known Subinterfaces:
Cat
, Donkey
, Horse
, Llama
, Mule
, Parrot
, TameableHorse
, Wolf
-
-
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, glowing, gravityAffected, height, invisible, invulnerabilityTicks, invulnerable, isLoaded, isRemoved, isTransient, lookAt, maxAir, 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.entity.living.animal.Sittable
sitting
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
-
tamer
- Returns:
- The tamer of the animal
-
tamed
- Returns:
- Whether the animal is currently tamed