/******************************************************************************* * Copyright 2011-2014 SirSengir * * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. ******************************************************************************/ 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); }