java.lang.Object
com.hexagram2021.chromosomelib.common.gene.Gene

public class Gene extends Object
A gene is a unit of hereditary information.
  • Field Details

    • COMPARATOR

      public static final Comparator<net.minecraft.core.Holder<Gene>> COMPARATOR
    • geneLocus

      @Internal @Nullable public net.minecraft.core.Holder<GeneLocus> geneLocus
      The locus of this gene.
    • topologicalOrder

      @Internal public int topologicalOrder
      See Also:
      • RegistryRelations.buildGeneTopologicalOrder(net.minecraft.core.Registry<com.hexagram2021.chromosomelib.common.gene.Gene>)
  • Constructor Details

    • Gene

      public Gene(String code)
  • Method Details