🧬 Genética animal e herança de características
📌 Aviso sobre o Código-Fonte do Repositório: A documentação desta Wiki reflete o estado atual do código-fonte no repositório, podendo incluir commits recentes ou recursos em desenvolvimento não lançados no CurseForge ou Modrinth.
| Trait Key | Target Attribute | Modifier Operation | Default Base | Min Bound | Max Bound | Mutation Rule |
|---|---|---|---|---|---|---|
scale | minecraft:generic.scale | ADD_VALUE | 0.0f | 0.75f | 1.30f | uniform(0.75f, 1.30f) |
movement_speed | minecraft:generic.movement_speed | ADD_MULTIPLIED_BASE | 0.0f | -0.04f | 0.08f | uniform(-0.04f, 0.08f) |
attack_damage | minecraft:generic.attack_damage | ADD_VALUE | 0.0f | 1.0f | 4.0f | uniform(1.0f, 4.0f) |
☕ Nota do desenvolvedor: Se você gosta dos morcegos em revoadas 3D realistas e fertilizando plantações com guano, apoie meu trabalho solo no Ko-fi!
🧬 Registro genético via DasikLibrary
Better Bats leverages the standalone genetics engine from DasikLibrary (DasikAnimalGeneticsAPI). When a bat spawns, individual alleles are generated within continuous Gaussian or uniform intervals. Wingspans visibly vary from tiny micro-bats ($0.75\times$) to giant fruit-bat silhouettes ($1.30\times$), with corresponding flight speed and attack damage attributes scaling proportionately.
📊 Intervalos de traços e mutações
$$\text{Wingspan Scale} = 1.0 + \Delta_{\text{gene}} \quad (\Delta \in [-0.25, +0.30])$$ $$\text{Effective Speed} = V_{\text{base}} \times (1.0 + M_{\text{speed}})$$
Next: Controle de pragas e combate | Tabela de GameRules dinâmicas
