mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
Move ForestryAPI into the Forestry project instead of as a submodule Include the new RF API Remove code for mods that have not yet ported to 1.8.9 (add it back later) Bump version to 5.0.0
20 lines
728 B
Java
20 lines
728 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 {
|
|
|
|
@Override
|
|
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);
|
|
}
|