public class MutationConditionBiome extends java.lang.Object implements IMutationCondition
| Constructor and Description |
|---|
MutationConditionBiome(net.minecraftforge.common.BiomeDictionary.Type... types) |
| 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.
|
public MutationConditionBiome(net.minecraftforge.common.BiomeDictionary.Type... types)
public float getChance(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
IAllele allele0,
IAllele allele1,
IGenome genome0,
IGenome genome1,
IClimateProvider climate)
IMutationConditiongetChance in interface IMutationConditionpublic java.lang.String getDescription()
IMutationConditiongetDescription in interface IMutationCondition