public class ButterflyMutation extends Mutation implements IButterflyMutation, IButterflyMutationBuilder
| Modifier | Constructor and Description |
|---|---|
protected |
ButterflyMutation(IAlleleSpecies species0,
IAlleleSpecies species1,
IAllele[] template,
int chance) |
| Modifier and Type | Method and Description |
|---|---|
IButterflyMutation |
build() |
float |
getChance(net.minecraft.world.World world,
IButterflyNursery housing,
IAllele allele0,
IAllele allele1,
IGenome genome0,
IGenome genome1) |
ISpeciesRoot |
getRoot() |
addMutationCondition, getAllele0, getAllele1, getBaseChance, getChance, getPartner, getSpecialConditions, getTemplate, isPartner, isSecret, requireDay, requireNight, requireResource, requireResource, restrictBiomeType, restrictDateRange, restrictHumidity, restrictHumidity, restrictTemperature, restrictTemperature, setIsSecret, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAllele0, getAllele1, getBaseChance, getPartner, getSpecialConditions, getTemplate, isPartner, isSecretaddMutationCondition, requireDay, requireNight, requireResource, requireResource, restrictBiomeType, restrictDateRange, restrictHumidity, restrictHumidity, restrictTemperature, restrictTemperature, setIsSecretprotected ButterflyMutation(IAlleleSpecies species0, IAlleleSpecies species1, IAllele[] template, int chance)
public IButterflyMutation build()
build in interface IMutationBuilderbuild in interface IButterflyMutationBuilderpublic float getChance(net.minecraft.world.World world,
IButterflyNursery housing,
IAllele allele0,
IAllele allele1,
IGenome genome0,
IGenome genome1)
getChance in interface IButterflyMutationpublic ISpeciesRoot getRoot()
getRoot in interface IMutationISpeciesRoot this mutation is associated with.