Class TreeChromosomes

java.lang.Object
forestry.api.core.genetics.alleles.TreeChromosomes

public class TreeChromosomes extends Object
  • Field Details

    • SPECIES

      public static final IChromosome<net.minecraft.resources.ResourceLocation> SPECIES
      The species of a tree. The genome stores the species' ID.
    • HEIGHT

      public static final IChromosome<Float> HEIGHT
      Modifies the height of a tree.
    • SAPLINGS

      public static final IChromosome<Float> SAPLINGS
      Chance for saplings.
    • FRUIT

      public static final IChromosome<net.minecraft.resources.ResourceLocation> FRUIT
      Determines what fruits are grown on the tree.
    • YIELD

      public static final IChromosome<Float> YIELD
      Chance for fruit leaves and/or drops.
    • SAPPINESS

      public static final IChromosome<Float> SAPPINESS
      Determines the speed at which fruit will ripen on this tree.
    • EFFECT

      public static final IChromosome<net.minecraft.resources.ResourceLocation> EFFECT
      Unimplemented. All trees added by base Forestry have the "none" tree effect.
    • MATURATION

      public static final IChromosome<Integer> MATURATION
      Amount of random ticks which need to elapse before a sapling will grow into a tree.
    • GIRTH

      public static final IChromosome<Integer> GIRTH
      The diameter of the tree. If the allele is 2, then the tree trunk is a 2x2 and requires four saplings to grow.
    • FIREPROOF

      public static final IChromosome<Boolean> FIREPROOF
      Determines if the tree can burn.
  • Constructor Details

    • TreeChromosomes

      public TreeChromosomes()