public interface IMutationCondition
| Modifier and Type | Method and Description |
|---|---|
float |
getChance(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
IAllele allele0,
IAllele allele1,
IGenome genome0,
IGenome genome1,
IClimateProvider climate)
Returns a float from 0 to 1 representing the chance for mutation to occur.
|
java.lang.String |
getDescription()
A localized description of the mutation condition.
|
float getChance(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
IAllele allele0,
IAllele allele1,
IGenome genome0,
IGenome genome1,
IClimateProvider climate)
java.lang.String getDescription()