🧬 Genética animal y herencia de rasgos
📌 Aviso sobre el código fuente del repositorio: La documentación de esta Wiki refleja el estado actual del código fuente en el repositorio, que puede incluir confirmaciones recientes o características en desarrollo no disponibles aún en CurseForge o 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 del desarrollador: Si disfrutas de los murciélagos en bandadas 3D realistas y fertilizando cultivos con guano, ¡apoya mi trabajo en Ko-fi!
🧬 Registro genético mediante 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.
📊 Rangos de rasgos y mutaciones
$$\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: Control de plagas y ataque | Tabla de reglas GameRules
