public interface IIndividualLiving extends IIndividual
| Modifier and Type | Method and Description |
|---|---|
void |
age(net.minecraft.world.World world,
float ageModifier)
Age the individual.
|
int |
getHealth() |
IGenome |
getMate() |
int |
getMaxHealth() |
boolean |
isAlive() |
void |
mate(IIndividual individual)
Mate with the given individual.
|
void |
setHealth(int health)
Set the current health of the individual.
|
addTooltip, analyze, copy, getDisplayName, getGenome, getIdent, hasEffect, isAnalyzed, isGeneticEqual, isPureBred, isSecretwriteToNBT@Nullable IGenome getMate()
int getHealth()
void setHealth(int health)
int getMaxHealth()
void age(net.minecraft.world.World world,
float ageModifier)
void mate(IIndividual individual)
individual - the IIndividual to mate this one with.boolean isAlive()