Class ForestryAlleles

java.lang.Object
forestry.api.genetics.alleles.ForestryAlleles

public class ForestryAlleles extends Object
All alleles defined by base Forestry. Although the field names might seem to suggest that they're only intended for a certain chromosome, allele instances do not have any meaning besides the values they contain. For example, if you need a dominant allele with the value 10, feel free to use LIFESPAN_SHORTEST or even copy it to a differently named field even if not for a lifespan-related chromosome. Note that you might have to add that allele to the chromosome's list of valid alleles in its IKaryotype, which can be done using ISpeciesTypeBuilder.setKaryotype(java.util.function.Consumer<forestry.api.plugin.IKaryotypeBuilder>) and IKaryotypeBuilder.get(forestry.api.genetics.alleles.IChromosome<A>)