⚔️ Pengendalian Hama & Serangan Menukik Predator
📌 Pernyataan Sumber Repositori: Dokumentasi di Wiki ini mencerminkan kondisi kode sumber terkini di repositori, yang mungkin memuat komit atau fitur pengembangan yang belum dirilis di CurseForge atau 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) |
☕ Catatan Pengembang Solo: Jika Anda menyukai kawanan kelelawar 3D BOIDs yang realistis dan pemupukan tanaman otomatis dengan guano, dukung karya saya di Ko-fi!
🦅 Mekanisme Perburuan Hama
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.
🎯 Akselerasi Menukik & Formula Kerusakan
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$).
