public interface Ageable extends Creature
UNKNOWN| Modifier and Type | Method and Description |
|---|---|
default Value<Boolean> |
adult()
Gets the
Value for the "adult" state. |
default MutableBoundedValue<Integer> |
age()
Gets the
MutableBoundedValue for the "age" state. |
default AgeableData |
getAgeData()
Gets the
AgeableData that represents age determining whether an
Entity is a child or an adult. |
void |
setScaleForAge()
Sets the scaling to be 1 if this entity is an adult and 0.5 if it is
a baby.
|
aiEnabled, getAgentData, getGoal, getTarget, setTargetgetDamageableData, getHeadRotation, getHealthData, health, lastAttacker, lastDamage, lookAt, maxHealth, setHeadRotationaddPassenger, addTag, canSee, clearPassengers, createArchetype, createSnapshot, damage, getBaseVehicle, getBoundingBox, getCreator, getNearbyEntities, getNearbyEntities, getNotifier, getPassengers, getRandom, getRotation, getScale, getTags, getTransform, getType, getVehicle, getVelocity, gravity, hasPassenger, hasTag, isLoaded, isOnGround, isRemoved, remove, removePassenger, removeTag, setCreator, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setNotifier, setRotation, setScale, setTransform, setTransformSafely, setVehicle, setVelocity, transferToWorld, transferToWorld, transferToWorld, transferToWorldgetUniqueIdgetLocation, getWorldsetRawData, validateRawDatagetContentVersion, toContainergetApplicableProperties, getPropertycopyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undocopy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supportsgetTranslationlaunchProjectile, launchProjectilegetTeamRepresentationvoid setScaleForAge()
default AgeableData getAgeData()
AgeableData that represents age determining whether an
Entity is a child or an adult.default MutableBoundedValue<Integer> age()
MutableBoundedValue for the "age" state.