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.