⚔️ Controle de pragas e combate predatório em mergulho
📌 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.
| 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 do desenvolvedor: Se você gosta dos morcegos em revoadas 3D realistas e fertilizando plantações com guano, apoie meu trabalho solo no Ko-fi!
🦅 Mecânica de caça predatória
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.
🎯 Aceleração em mergulho e dano
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$).
Next: Genética e características | Tabela de GameRules dinâmicas
