Package eu.sculkpowered.server.entity
Interface Ageable
- All Known Subinterfaces:
Animal
,Axolotl
,Bee
,Camel
,Cat
,Chicken
,Cow
,Donkey
,Drowned
,Fox
,Frog
,Goat
,Hoglin
,Horse
,Husk
,Llama
,Mooshroom
,Mule
,Ocelot
,Panda
,Parrot
,Pig
,Piglin
,PolarBear
,Rabbit
,Sheep
,SkeletonHorse
,Sniffer
,Squid
,Strider
,TraderLlama
,Turtle
,Wolf
,Zoglin
,Zombie
,ZombieHorse
,ZombieVillager
,ZombifiedPiglin
public interface Ageable
Represents an entity that can age.
-
Method Summary
-
Method Details
-
baby
boolean baby()Gets if the entity is a baby or not.- Returns:
- true if it is a baby
- Since:
- 1.0.0
-
adult
boolean adult()Gets if the entity is an adult or not.- Returns:
- true if it is an adult
- Since:
- 1.0.0
-
setBaby
void setBaby(boolean baby) Sets the entity to a baby or not.- Parameters:
baby
- whether the entity should be a baby
-