21 lines
574 B
Java
21 lines
574 B
Java
package forestry.api.apiculture;
|
|
|
|
import forestry.api.genetics.IAllele;
|
|
import forestry.api.genetics.IGenome;
|
|
import forestry.api.genetics.IMutation;
|
|
|
|
public interface IBeeMutation extends IMutation {
|
|
|
|
IBeeRoot getRoot();
|
|
|
|
/**
|
|
* @param housing
|
|
* @param allele0
|
|
* @param allele1
|
|
* @param genome0
|
|
* @param genome1
|
|
* @return float representing the chance for mutation to occur. note that this is 0 - 100 based, since it was an integer previously!
|
|
*/
|
|
float getChance(IBeeHousing housing, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1);
|
|
}
|