Class BeeChromosomes

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

public class BeeChromosomes extends Object
All chromosomes of the Forestry bee species type.
  • Field Details

    • SPECIES

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

      public static final IChromosome<Float> SPEED
      Determines a queen's production speed. Shows up as "worker" in the portable analyzer.
    • LIFESPAN

      public static final IChromosome<Integer> LIFESPAN
      Determines a queen's lifespan.
    • FERTILITY

      public static final IChromosome<Integer> FERTILITY
      The number of drones given when a queen dies.
    • TEMPERATURE_TOLERANCE

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

      public static final IChromosome<ToleranceType> HUMIDITY_TOLERANCE
      Determines the acceptable range of humidities from a bee's ideal humidity. Reused by butterflies.
    • ACTIVITY

      public static final IChromosome<net.minecraft.resources.ResourceLocation> ACTIVITY
      The activity type determines when this bee is awake. Builtin types are found in ForestryActivityTypes.
    • CAVE_DWELLING

      public static final IChromosome<Boolean> CAVE_DWELLING
      Whether this bee can work when the sky above its housing is obstructed.
    • TOLERATES_RAIN

      public static final IChromosome<Boolean> TOLERATES_RAIN
      Whether this bee can work while it is raining.
    • FLOWER_TYPE

      public static final IChromosome<net.minecraft.resources.ResourceLocation> FLOWER_TYPE
      The type of flowers this bee needs to work. Also includes flowers that a bee can plant.

      Resolved through the base flower type manager rather than through the bee species type. ButterflyChromosomes.FLOWER_TYPE is this same chromosome, so a butterfly must be able to resolve it with no apiculture jar installed.

    • EFFECT

      public static final IChromosome<net.minecraft.resources.ResourceLocation> EFFECT
      Determines the effect of a bee species. Its range is determined by TERRITORY.
    • POLLINATION

      public static final IChromosome<Integer> POLLINATION
      Determines how fast the hive can pollinate trees and plant flowers. Range is determined by TERRITORY.
    • TERRITORY

      public static final IChromosome<net.minecraft.core.Vec3i> TERRITORY
      Determines the area in which a bee can pollinate trees, grow flowers, and use its special effect.
  • Constructor Details

    • BeeChromosomes

      public BeeChromosomes()