⚔️ Control de plagas y ataque en picado
📌 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.
| Parameter | Specification Details |
|---|---|
| AI Goal Class | net.vanillaoutsider.betterbats.ai.BatDiveBombGoal |
| GameRule Toggle | better-bats:bat_pest_control (Default: true) |
| Target Pest Entities | Silverfish (EntityTypes.SILVERFISH), Endermite (EntityTypes.ENDERMITE) |
| Detection Radius | 8 blocks (Bounding box inflation) |
| Base Impact Damage | 10.0 points ($5\text{ hearts}$) |
| Genetics Damage Multiplier | attack_damage trait ($1.0\times - 4.0\times$) |
| Dive-Bomb Speed | 0.3 blocks/tick |
| Audio Cue | minecraft:entity.bat.ambient (Pitch 0.5f) |
☕ Nota del desarrollador: Si disfrutas de los murciélagos en bandadas 3D realistas y fertilizando cultivos con guano, ¡apoya mi trabajo en Ko-fi!
🦅 Mecánicas de caza depredadora
Bats serve as natural biological pest controllers in deep caverns and strongholds. When better-bats:bat_pest_control is active, bats scan within an 8-block sphere for crawling pests (Silverfish and Endermites). Upon acquisition, the bat ascends and performs a high-speed dive-bomb.
🎯 Aceleración en picado y daño
The impact damage delivered upon contact scales with genetics:
$$\text{Damage} = 10.0 \times M_{\text{genetics}}$$
Where $M_{\text{genetics}}$ is the inherited attack_damage modifier from DasikLibrary ($1.0 - 4.0$).
