跳到正文

InGen Genes

作者:Noar1625

InGen Genes 是一个专注于考古学和基因工程的 Minecraft 模组。提取化石 DNA,操纵核苷酸序列以克隆准确的恐龙,变异原版动物,或设计复杂的杂交体。

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Project Overview: InGen Genes

 

InGen Genes is a multi-loader Minecraft mod that introduces a complex, genetics-based dinosaur ecosystem to the game. Built for both Fabric and NeoForge, the mod moves beyond standard mob spawning by implementing a custom genetic architecture that dictates the physical and biological traits of the entities.

Technical Architecture & How It Works

  •  

    Cross-Loader Compatibility: The mod is compiled as a universal .jar, utilizing platform-specific implementations (InGenGenesFabric and InGenGenesNeo) alongside a shared common codebase. Client-side setups and registries are abstracted to ensure parity across both modding APIs.

  • The Genetics System: The core logic is driven by a custom genetics engine.

    • The GeneRegistry and DNAManager classes handle the backend logic for parsing and storing genetic data.

    • Traits are defined down to the Allele level, and the GeneExpression class calculates the phenotypic output. This determines the dinosaur’s gender (Male/Female) and its specific environmental adaptation.

  •  

    Dynamic Phenotypes & Rendering: Instead of registering separate entities for every color, the mod dynamically applies textures based on genetic expression. Every dinosaur species (e.g., Ankylosaurus, Brachiosaurus, Tyrannosaurus, Velociraptor) features 14 distinct environmental variants (Arid, Coastal, Jungle, Savanna, etc.).

  •  

    Gameplay Loop: Players interact with the backend genetics system using custom items. The extraction process begins with an amber_fragment to obtain a dna_strand, and players can manipulate genetic material using a gene_syringe.

Development Roadmap & Future Plans

Moving forward, the architectural focus will be on expanding the genetic data structures and entity AI:

  1. Advanced Gene Splicing GUI: Development of a custom client-side interface to visualize the GeneRegistry data, allowing players to selectively splice dominant and recessive alleles to breed specific variants.

  2.  

    Trait-Driven Behavioral AI: Expanding the BaseDinoEntity class to link genetic traits to AI Pathfinders and Goals. For example, a dinosaur with “Jungle” alleles might receive movement speed bonuses in dense foliage, while “Highland” variants might have better pathfinding over steep terrain.

  3.  

    API Extensibility: Exposing the GeneRegistry and DNAManager classes as a public API. This will allow other modders to inject their own custom alleles, traits, and mutations into the InGen Genes ecosystem seamlessly.

  4. Tonnage & Growth Mechanics: Implementing a scaled growth system where specific genetic markers influence the maximum size and strength of the entity upon reaching adulthood.

常见问题

InGen Genes 支持哪些 Minecraft 版本?

InGen Genes 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

InGen Genes 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分