Class ButterflyChromosomes

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

public class ButterflyChromosomes extends Object
  • Field Details

    • SPECIES

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

      public static final IChromosome<Float> SIZE
      Determines physical size of a butterfly.
    • SPEED

      public static final IChromosome<Float> SPEED
      Determines the flight speed of a butterfly.
    • LIFESPAN

      public static final IChromosome<Integer> LIFESPAN
      Determines how long this butterfly will live.
    • METABOLISM

      public static final IChromosome<Integer> METABOLISM
      Determines the rate at which caterpillars destroy leaves and influences cocoon drops.
    • FERTILITY

      public static final IChromosome<Integer> FERTILITY
      Determines how likely this butterfly is to mate as well as how fast its nurseries and cocoons mature.
    • TEMPERATURE_TOLERANCE

      public static final IChromosome<ToleranceType> TEMPERATURE_TOLERANCE
      Determines the acceptable range of temperatures from a butterfly's ideal temperature.
    • HUMIDITY_TOLERANCE

      public static final IChromosome<ToleranceType> HUMIDITY_TOLERANCE
      Determines the acceptable range of humidities from a butterfly's ideal humidity.
    • NEVER_SLEEPS

      public static final IChromosome<Boolean> NEVER_SLEEPS
      Whether diurnal butterflies can work during the night, or nocturnal butterflies (moths) can work during the day.
    • TOLERATES_RAIN

      public static final IChromosome<Boolean> TOLERATES_RAIN
      Whether this butterfly can spawn or fly while it is raining.
    • FIREPROOF

      public static final IChromosome<Boolean> FIREPROOF
      Whether this butterfly is immune to fire/lava damage.
    • FLOWER_TYPE

      public static final IChromosome<net.minecraft.resources.ResourceLocation> FLOWER_TYPE
      Unimplemented.
    • EFFECT

      public static final IChromosome<net.minecraft.resources.ResourceLocation> EFFECT
      Unimplemented.
    • COCOON

      public static final IChromosome<net.minecraft.resources.ResourceLocation> COCOON
      Used for silk moths (Bombyx Mori) to affect cocoon drops.
  • Constructor Details

    • ButterflyChromosomes

      public ButterflyChromosomes()