mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-16 10:34:53 +00:00
24 lines
790 B
Java
24 lines
790 B
Java
/*******************************************************************************
|
|
* 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.IMutation;
|
|
|
|
public interface IBeeMutation extends IMutation {
|
|
|
|
IBeeRoot getRoot();
|
|
|
|
/**
|
|
* @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,
|
|
IAlleleBeeSpecies allele0,
|
|
IAlleleBeeSpecies allele1,
|
|
IBeeGenome genome0,
|
|
IBeeGenome genome1);
|
|
}
|