public interface Ageable extends Agent
Modifier and Type | Method and Description |
---|---|
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.
|
getAgentData
getHealthData, getMortalData
createSnapshot, damage, getLocation, getRotation, getScale, getTransform, getType, getWorld, isLoaded, isOnGround, isRemoved, remove, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setRotation, setScale, setTransform, transferToWorld, transferToWorld
getUniqueId
setRawData, validateRawData
toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, supports, transform, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, supports, supports
getTeamRepresentation
void setScaleForAge()
default AgeableData getAgeData()
AgeableData
that represents age determining whether an
Entity
is a child or an adult.