public enum EnumTreeChromosome extends java.lang.Enum<EnumTreeChromosome> implements IChromosomeType
| Enum Constant and Description |
|---|
EFFECT
Leaf effect.
|
FERTILITY
Chance for saplings.
|
FIREPROOF
Determines if the tree can burn.
|
FRUITS
IFruitProvider, determines if and what fruits are grown on the tree. |
GIRTH |
HEIGHT
A float modifying the height of the tree.
|
MATURATION
Amount of random ticks which need to elapse before a sapling will grow into a tree.
|
SAPPINESS
Determines the speed at which fruit will ripen on this tree.
|
SPECIES
Determines the following: - WorldGen, including the used wood blocks -
IFruitFamilys supported. |
YIELD
Chance for fruit leaves and/or drops.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends IAllele> |
getAlleleClass() |
java.lang.String |
getName() |
ISpeciesRoot |
getSpeciesRoot() |
static EnumTreeChromosome |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumTreeChromosome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfordinalpublic static final EnumTreeChromosome SPECIES
IFruitFamilys supported. Limits which IFruitProvider
will actually yield fruit with this species. - Native EnumPlantType for this tree. Combines with the PLANT chromosome.public static final EnumTreeChromosome HEIGHT
public static final EnumTreeChromosome FERTILITY
public static final EnumTreeChromosome FRUITS
IFruitProvider, determines if and what fruits are grown on the tree. Limited by the IFruitFamilys the species supports.public static final EnumTreeChromosome YIELD
public static final EnumTreeChromosome SAPPINESS
public static final EnumTreeChromosome EFFECT
public static final EnumTreeChromosome MATURATION
public static final EnumTreeChromosome GIRTH
public static final EnumTreeChromosome FIREPROOF
public static EnumTreeChromosome[] values()
for (EnumTreeChromosome c : EnumTreeChromosome.values()) System.out.println(c);
public static EnumTreeChromosome valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Class<? extends IAllele> getAlleleClass()
getAlleleClass in interface IChromosomeTypepublic java.lang.String getName()
getName in interface IChromosomeTypepublic ISpeciesRoot getSpeciesRoot()
getSpeciesRoot in interface IChromosomeType