# 1.3.0
## Data
- Genes are now data-driven! They're in `/data/_____/geneticsresequenced/gene/`
- They follow the following structure, all fields are optional:
- `dna_points_required`: The amount of DNA Points required to complete a Plasmid. Defaults to 0
- `negative`: If the Gene is negative. Defaults to false
- `mutation`: If the Gene is a mutation. Defaults to false
- `hidden`: If the Gene is hidden, only used by default by the Basic Gene. Defaults to false
- `allowed_entities`: A filter of entity types that the Gene can be injected into
- Defaults to `{"type": "neoforge:any"}`.
- Can also accept a single entity type (`"minecraft:player"`) or a list of entity types (`["minecraft:cow","minecraft:chicken"]`)
- `potion_details`: An object with the following fields, for a potion effect that's granted at all times:
- `effect`: The effect to apply
- `level`: The level of the effect (optional, defaults to 1)
- `duration`: The duration of the effect (optional, defaults to -1, infinite)
- `showIcon`: If the effect icon should be shown (optional, defaults to false)
- `attribute_modifiers`: A list of objects with the following fields, for attribute modifiers that are granted at all times:
- `attribute`: The attribute to modify
- `id`: A Resource Location ID for the modifier
- `operation`: The operation to apply to the attribute (`"add_value"`, `"add_multiplied_base"`, or `"add_multiplied_total"`)
- `amount`: The amount to modify the attribute by
- `requires_genes`: A list of Resource Location IDs for Genes that are required to have this Gene
- `scares_entities_with_tag`: An entity type tag that the Gene will scare
- Incubator recipes are no longer actually Brewing recipes, and can therefore no longer be used in a Brewing Stand
- Consequently, you can now make custom recipes that use the Incubator! See `/data/geneticsresequeced/recipe/incubator/`
- There are 3 types (technically 5, but 2 of them are hardcoded with no parameters):
- `geneticsresequenced:incubator_basic`
- Requires two ingredients `top_slot` and `bottom_slot`, and an output itemstack `output`
- Optionally can have `is_low_temperature`, which makes it require low temperature. Defaults to false, making it require high temperature
- `geneticsresequenced:incubator_gmo`
- Requires `entity_type` that the Cell Growth or Mutation Potion must be set to
- Requires `ingredient` for the item in the top slot
- Requires `ideal_gene` for the Gene that a successful Cell will have
- Optionally can have `gene_chance`, which is a number 0-1 for the chance of getting the Gene (giving Basic if it fails). Defaults to 1.
- Optionally can have `needs_mutation_potion` which makes it require a Potion of Mutation instead of a Potion of Cell Growth. Defaults to false.
- `geneticsresequenced:incubator_virus`
- Takes in an input Gene and an output Gene, and makes a recipe that converts when crafted with Viral Agents
- Disabling Genes now uses the Gene tag `#geneticsresequenced:disabled`
- Genes requiring other Genes is now handled in the Gene's definition json, rather than a file in /gene_requirements/
- Changed some default Gene requirements:
- Flight no longer requires Jump Boost, but now requires Step Assist
- Photosynthesis now requires Eat Grass
- Scare Spiders and Scare Zombies are no longer Mutation genes, and don't require Scare Creepers or Scare Skeletons
- Added the following entity types to `geneticsresequenced:allows_preventing_interaction`: Horse, Donkey, Mule, Llama, Trader Llama
## Additions / Changes
- Added Reaching Gene, which allows you to reach 1.25 times further
- Support Slime Spawn Eggs have been added to the Spawn Eggs creative tab
- Removed the potion outlines from the Incubator background slots
- The Plasmid Injector EMI recipe page now says in the tooltip that you can have multiple Genes/Antigenes in the same Syringe
- Updated Incubator EMI recipe pages
## Fixes
- Fixed an issue where the Photosynthesis Gene would stop working when enabled instead of when not enabled
- Fixed an issue in the coloring of Anti-Plasmid tooltips
- Fixed an issue where Genes that require 1 DNA Point would show as requiring 0 DNA Helices instead of 1 in EMI
- Removed a rather large unused texture that was taking up space
Optional dependencies
Patchouli
Any compatible version
Modonomicon
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }