public class MutationConditionTimeLimited extends java.lang.Object implements IMutationCondition
| Constructor and Description |
|---|
MutationConditionTimeLimited(int startMonth,
int startDay,
int endMonth,
int endDay) |
| 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 MutationConditionTimeLimited(int startMonth,
int startDay,
int endMonth,
int endDay)
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