Skip to content

⚔️ 害蟲防治與俯衝捕食戰鬥 ​

📌 代碼倉庫原始碼免責聲明:本維基文件反映了倉庫當前的原始碼狀態,可能包含領先於 CurseForge 與 Modrinth 上公開發布版本的最新開發提交或未發布功能。

ParameterSpecification Details
AI Goal Classnet.vanillaoutsider.betterbats.ai.BatDiveBombGoal
GameRule Togglebetter-bats:bat_pest_control (Default: true)
Target Pest EntitiesSilverfish (EntityTypes.SILVERFISH), Endermite (EntityTypes.ENDERMITE)
Detection Radius8 blocks (Bounding box inflation)
Base Impact Damage10.0 points ($5\text{ hearts}$)
Genetics Damage Multiplierattack_damage trait ($1.0\times - 4.0\times$)
Dive-Bomb Speed0.3 blocks/tick
Audio Cueminecraft:entity.bat.ambient (Pitch 0.5f)

☕ 獨立開發者寄語:如果你喜歡蝙蝠逼真的三維群飛和鳥糞為莊稼施肥的生態體驗,歡迎在 Ko-fi 上支持我的獨立開發!


🦅 捕食機制與目標判定 ​

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.


🎯 俯衝加速度與傷害公式 ​

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: 動物遺傳學與性狀繼承 | 動態遊戲規則參考表

Official documentation & web portal for Dasik Igaijinn mods.