Test with stuff + Forestry potential support

This commit is contained in:
WayofTime 2014-01-25 20:36:28 -05:00
parent 5b05cf651b
commit bd26e441cb
174 changed files with 5602 additions and 0 deletions

View file

@ -0,0 +1,40 @@
package forestry.api.genetics;
import net.minecraft.world.World;
public interface IIndividualLiving extends IIndividual {
/**
* @return Genetic information of the mate, null if unmated.
*/
IGenome getMate();
/**
* @return Current health of the individual.
*/
int getHealth();
/**
* @return Maximum health of the individual.
*/
int getMaxHealth();
/**
* Age the individual.
* @param world
* @param ageModifier
*/
void age(World world, float ageModifier);
/**
* Mate with the given individual.
* @param individual the {@link IIndividual} to mate this one with.
*/
void mate(IIndividual individual);
/**
* @return true if the individual is among the living.
*/
boolean isAlive();
}