Carrot is not fruit (#27)

* Carrot is not fruit

* updateBuildScript & spotlessApply
This commit is contained in:
miozune authored and GitHub committed 2022-08-25 14:10:35 +02:00
1 parent 6973dbc80d
commit c5c3aee2fb
1345 files changed
+92079 -90006

No files matched your search

@@ -1,6 +1,6 @@
/*******************************************************************************
* Copyright 2011-2014 SirSengir
*
*
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
******************************************************************************/
package forestry.api.genetics;
@@ -9,37 +9,36 @@ import net.minecraft.world.World;
public interface IIndividualLiving extends IIndividual {
/**
* @return Genetic information of the mate, null if unmated.
*/
IGenome getMate();
/**
* @return Genetic information of the mate, null if unmated.
*/
IGenome getMate();
/**
* @return Current health of the individual.
*/
int getHealth();
/**
* @return Current health of the individual.
*/
int getHealth();
/**
* @return Maximum health of the individual.
*/
int getMaxHealth();
/**
* @return Maximum health of the individual.
*/
int getMaxHealth();
/**
* Age the individual.
* @param world
* @param ageModifier
*/
void age(World world, float ageModifier);
/**
* 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();
/**
* 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();
}