public interface Ageable extends LivingEntity
Modifier and Type | Method and Description |
---|---|
int |
age()
The current age of this entity, in ticks
|
boolean |
canBreed()
Whether or not this entity can breed or not, where the ability to breed represents whether or not this entity
can
become "in love"
|
boolean |
isInLove()
Whether or not this entity is "in love", such that it will actively display the particle effect for breeding
hearts and search for a mate
|
void |
setAge(int ticks)
Set the current age of this entity, in ticks
|
aiModule, canCollectItems, createStatusEffect, displayName, headLocation, health, hide, isDead, lastDamageEvent, lastPlayerDamager, maxHealth, path, remainingAir, setAiModule, setHealth, setMaxHealth, setPath, setRemainingAir, show
applyProperties, boundingBox, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, type, uniqueId, velocity, withinRange, world
launchProjectile
int age()
void setAge(int ticks)
ticks
- the age to setboolean canBreed()
boolean isInLove()
Copyright © 2016. All rights reserved.