public class TreeMutation extends Mutation implements ITreeMutation, ITreeMutationBuilder
| Constructor and Description |
|---|
TreeMutation(IAlleleTreeSpecies allele0,
IAlleleTreeSpecies allele1,
IAllele[] template,
int chance) |
| Modifier and Type | Method and Description |
|---|---|
ITreeMutation |
build() |
float |
getChance(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
IAlleleTreeSpecies allele0,
IAlleleTreeSpecies allele1,
ITreeGenome genome0,
ITreeGenome genome1) |
ITreeRoot |
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, setIsSecretpublic TreeMutation(IAlleleTreeSpecies allele0, IAlleleTreeSpecies allele1, IAllele[] template, int chance)
public ITreeMutation build()
build in interface ITreeMutationBuilderbuild in interface IMutationBuilderpublic ITreeRoot getRoot()
getRoot in interface ITreeMutationgetRoot in interface IMutationISpeciesRoot this mutation is associated with.public float getChance(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
IAlleleTreeSpecies allele0,
IAlleleTreeSpecies allele1,
ITreeGenome genome0,
ITreeGenome genome1)
getChance in interface ITreeMutation