Genetics Reworked

Genetics mechanics with breeding and more!

Genetics

Content

New Blocks

  • Centrifuge - Separates Blood Samples containing multiple genes into individual samples, one for each gene
  • DNA Sequencer - Converts Blood Samples into DNA Matrices
  • Cloner - Clones DNA Matrices
  • Incubator - Combines and breeds DNA Matrices to create new ones
  • Blood Tray - Keeps Blood Samples frozen and can store up to 9 samples

All blocks preserve their contents when broken


Main Mechanics

Blood Samples

Every Blood Sample has three properties:

  • Freshness - Determines how long a sample can be stored before becoming unusable
  • Freeze Time - Prevents freshness from decreasing while the sample is frozen
  • Gene - The genetic information contained in the sample

Freshness cannot be restored. It decreases by 1% every 5 seconds

To preserve your samples, you need to freeze them using a Blood Tray. While Freeze Time is above 0, Freshness will not decrease. However, Freeze Time itself continues to count down.

Be careful: Samples tick everywhere - in machines, inventories, on the ground, and even in unloaded chunks. Make sure to keep them in a Blood Tray!

Genes

Every Gene contains three properties:

  • Gene Type - The gene's identity, such as Speed, Strength, and others
  • Purity - Determines how strongly the gene affects you when injected
  • Allele Pair - Defines the actual effects of the gene

For example, the Resistance Gene can have allele 'a', which increases your Armor, or allele 'e', which grants Knockback Resistance

Alleles can be either dominant or recessive. Since every gene has two alleles, their dominance determines which effects are expressed

If both alleles have the same dominance (both dominant or both recessive), both will express their effects


How to Get Blood

To collect a Blood Sample, simply right-click a mob with an empty syringe

The resulting sample depends on the mob's genes.

Mobs naturally spawn with their own set of Gene Types. For example, a rabbit might spawn with the Jump Boost Gene, the Speed Gene, or even both.

Genes, alleles, and purity are generated randomly when a mob spawns.

Breeding mobs generates a new set of genes for their offspring. Although the result is still mostly random, the parents' genetics influence the outcome, allowing you to gradually breed mobs with the genes you want.

Mobs can also be affected by their genes, meaning some of them might be stronger than usual!

If a mob has no genes, the syringe will produce a sample with the Filled Gene Type. It has no practical use by itself, but may be useful with certain addons.


Breeding

There are two ways to breed genes: through mobs or using an Incubator. The Incubator provides a much more consistent and controllable way to manipulate genetics.

Setting Up an Incubator

You need at least 3 Incubators to begin the process.

  1. Place the main Incubator.

  2. Place two additional Incubators nearby, making sure their sides are connected to the main one.

    Example:

    O - O - O
    

    You can also arrange them in a corner formation:

    O - O
        |
        O
    
  3. Insert a DNA Matrix into each of the three Incubators.

  4. Start the incubation process!

Incubation Parameters

During incubation, you will be able to monitor several parameters:

  1. Progress - Current incubation progress
  2. Health - The overall condition of the developing gene
  3. Purity - Current gene purity
  4. Stability - How close the current allele values are to their target values
  5. Allele 1 - The first allele
  6. Allele 2 - The second allele
  7. Allele 1 Value - Current value of the first allele
  8. Allele 2 Value - Current value of the second allele

Allele Values and Stability

Every gene has its own set of allele values, which act as anchor points for mutations.

For example, the Haste Gene has the following values:

Allele Value
a 65.0
b 25.0
c 10.0

These values represent the target points for each allele.

Let's say you have allele 'a' (65.0), but you want to obtain allele 'c' (10.0). You need to decrease the current allele value from 65.0 to 10.0.

Stability indicates how close the current allele value is to its target anchor point. Keeping stability at 100% is important for obtaining a high-quality result.

Understanding Gene Properties (JEI)

Use JEI to look up the incubation properties of individual genes:

  • Primal Value - Determines which incubation parameter primarily affects the gene: Temperature, Acidity (pH), or Ultraviolet (hV).
  • Perfect Incubation Conditions - The optimal Temperature, Acidity, and hV values.
  • Incubation Direction - Determines how the Primal Value must change to decrease the allele value.

For example:

Primal Value: Temperature
Direction: Increase
Perfect Conditions: [6, 4, 1]

This means that increasing Temperature will decrease the current allele value. The same logic applies to the Decrease direction.

Genetic Adaptation

Perfect Incubation Conditions can slightly change depending on gene purity due to genetic adaptation. Currently, only the Primal Value is affected by this mechanic. For example, consider the Haste Gene. As its purity increases, its optimal Temperature may also increase. If you fail to adjust the temperature accordingly, the gene will gradually lose health.

Aggressiveness

Besides the visible parameters, incubation has a hidden property called Aggressiveness It measures how far your current incubation conditions deviate from the optimal values, including genetic adaptation.

Aggressiveness directly affects the incubation process:

  • Low Aggressiveness — Purity increases faster, and the gene regenerates more effectively.
  • High Aggressiveness — Incubation slows down, taking longer to complete. However, the gene's allele values mutate faster.

Your goal is to find the right balance between three objectives:

  1. Keep Health above 0
  2. Mutate allele values until you reach the desired alleles
  3. Maintain 100% Stability

Warning: The final Purity is multiplied by Stability. Even if you manage to achieve high Purity, poor Stability can drastically reduce the quality of the resulting gene!

Incubation Completion

Incubation ends when either of the following conditions is met:

  • Progress reaches 3600 ticks
  • Health reaches 0

Injecting

To inject Gene, simply combine emply syringe with Matrix Sample in crafting table.

  • Shift + Right Click - Inject Gene into yourself
  • Right Click - Inject Gene into mob

To remove Gene, inject same Gene Type with negative purity.

Injecting Genes into other players is disabled by default

Developer Information

Mod is desgined to be maximum modifiable. So you can simply delete old Genes, add new ones, create custom incubation processes, add new machines, balance genes and many more. If you need help or API additions/changes - DM me at Discord or create issue on GitHub

I'm not sure when documentation will be released


Assets

  • All custom sounds belongs to Nazzy
  • You can use mod assets in your own projects, don't forget to mention author!

Genetics Reworked Team

profile avatar
Owner
  • 6
    Projects
  • 2.6K
    Downloads

Тут прочерк

More from AwyvrixView all