⚔️ 害虫駆除と急降下捕食戦闘メカニクス
📌 リポジトリソースコードに関する免責事項: 本Wikiドキュメントはリポジトリの最新ソースコード状態を反映しており、CurseForgeや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) |
☕ 個人開発者ノート: 3D BOIDsによるコウモリのリアルな群飛やグアノによる作物施肥を気に入っていただけたら、ぜひ 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: 動物遺伝学と形質遺伝 | 動的ゲームルール一覧表
