Mod

Chromosome Lib

Quick rating

Chromosome Lib

No reviews yet

Introduces genetic mechanisms for entities in Minecraft

QoL & Tweaks
API/Library
Genetics & Biology
Mod Loaders
Forge
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Optional
Server Optional

About

Project Details

Type
Mod
License
GNU Lesser General Public License v2.1 only
Latest Version
chromosomelib-fabric-0.0.1+1.20.1.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Abstract

This is a library mod that introduces chromosome-based genetic mechanisms for entities, such as villagers, sheeps, cows, in Minecraft. It does not provide any actual functionality on its own, but serves as a powerful and compatible library that integrates traits and genetic systems for dependents.

For developers to create dependents of this mod, please read the following sections.

Architecture

Architecture

Core capabilities

  • Multi-loader support: Works seamlessly on both Fabric and (Neo)Forge.
  • Five custom registries for chromosomes, gene loci, genes, traits, and trait types.
  • Extensible trait system allowing developers to define custom observable characteristics.

Registration

Chromosomes, Gene Loci, Genes, Traits and Trait Types can be registered through this mod.

We also provide some built-in chromosomes for vanilla animals such as sheep, cows, polar bears, humans, to prevent conflicts between different mods by registering different chromosomes to the same entity.

Inheritance

Automatic chromosome inheritance, including gene recombination and mutation, default gene selectors, are reusable to any mobs, which is managed by chromosome lib. So there's no need for developers to understand how it's implemented - they can code in a really easy way.

Debug Commands

We also provide several commands for players to show and modify genes of entities easily, and reassign traits of them based on their genes.

Use Cases

This library is perfect for:

  • Wildlife and animal husbandry mods wanting realistic breeding systems.
  • RPG mods requiring hereditary traits and characteristics.
  • Educational mods teaching genetics and biology concepts.
  • Any mod that needs sophisticated inheritance mechanics.

Get Started

Add Viola Siemens's Maven to repository in your build.gradle.

repositories {
    maven {
        name = 'Maven from Viola Siemens'
        url = "https://viola-siemens.github.io/pages/maven/"
    }
}

Declare Chromosome Lib as your dependency.

Forge:

implementation fg.deobf("com.hexagram2021:chromosomelib-forge:${chromosomelib_version}")

Fabric:

modImplementation group: 'com.hexagram2021', name: 'chromosomelib-fabric', version: chromosomelib_version

NeoForge:

implementation group: 'com.hexagram2021', name: 'chromosomelib-neoforge', version: chromosomelib_version

MultiLoader:

// ^common/build\.gradle$
modImplementation group: 'com.hexagram2021', name: 'chromosomelib-common', version: chromosomelib_version

// ^forge/build\.gradle$
modImplementation group: 'com.hexagram2021', name: 'chromosomelib-forge', version: chromosomelib_version

// ^fabric/build\.gradle$
modImplementation group: 'com.hexagram2021', name: 'chromosomelib-fabric', version: chromosomelib_version

// ^neoforge/build\.gradle$
modImplementation group: 'com.hexagram2021', name: 'chromosomelib-neoforge', version: chromosomelib_version

Example Mods

Inheritable Coat Color

Abstract

This is a library mod that introduces chromosome-based genetic mechanisms for entities, such as villagers, sheeps, cows, in Minecraft. It does not provide any actual functionality on its own, but serves as a powerful and compatible library that integrates traits and genetic systems for dependents.

For developers to create dependents of this mod, please read the following sections.

Architecture

Architecture

Core capabilities

  • Multi-loader support: Works seamlessly on both Fabric and (Neo)Forge.
  • Five custom registries for chromosomes, gene loci, genes, traits, and trait types.
  • Extensible trait system allowing developers to define custom observable characteristics.

Registration

Chromosomes, Gene Loci, Genes, Traits and Trait Types can be registered through this mod.

We also provide some built-in chromosomes for vanilla animals such as sheep, cows, polar bears, humans, to prevent conflicts between different mods by registering different chromosomes to the same entity.

Inheritance

Automatic chromosome inheritance, including gene recombination and mutation, default gene selectors, are reusable to any mobs, which is managed by chromosome lib. So there's no need for developers to understand how it's implemented - they can code in a really easy way.

Debug Commands

We also provide several commands for players to show and modify genes of entities easily, and reassign traits of them based on their genes.

Use Cases

This library is perfect for:

  • Wildlife and animal husbandry mods wanting realistic breeding systems.
  • RPG mods requiring hereditary traits and characteristics.
  • Educational mods teaching genetics and biology concepts.
  • Any mod that needs sophisticated inheritance mechanics.

Get Started

Add Viola Siemens's Maven to repository in your build.gradle.

repositories {
    maven {
        name = 'Maven from Viola Siemens'
        url = "https://viola-siemens.github.io/pages/maven/"
    }
}

Declare Chromosome Lib as your dependency.

Forge:

implementation fg.deobf("com.hexagram2021:chromosomelib-forge:${chromosomelib_version}")

Fabric:

modImplementation group: 'com.hexagram2021', name: 'chromosomelib-fabric', version: chromosomelib_version

NeoForge:

implementation group: 'com.hexagram2021', name: 'chromosomelib-neoforge', version: chromosomelib_version

MultiLoader:

// ^common/build\.gradle$
modImplementation group: 'com.hexagram2021', name: 'chromosomelib-common', version: chromosomelib_version
 
// ^forge/build\.gradle$
modImplementation group: 'com.hexagram2021', name: 'chromosomelib-forge', version: chromosomelib_version
 
// ^fabric/build\.gradle$
modImplementation group: 'com.hexagram2021', name: 'chromosomelib-fabric', version: chromosomelib_version
 
// ^neoforge/build\.gradle$
modImplementation group: 'com.hexagram2021', name: 'chromosomelib-neoforge', version: chromosomelib_version

Example Mods

Inheritable Coat Color

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync