Skip to content

🔊 声学生物回声定位与惊恐散射 ​

📌 代码仓库源码免责声明:本维基文档反映了仓库当前的源代码状态,可能包含领先于 CurseForge 与 Modrinth 上公开发布版本的最新开发提交或未发布功能。

ParameterSpecification Details
Vibration Listener Mixinnet.vanillaoutsider.betterbats.mixin.GameEventDispatcherMixin
Panic AI Goal Classnet.vanillaoutsider.betterbats.ai.BatPanicGoal (Goal Priority 1)
Vibration Trigger EventsGameEvent.EXPLODE, GameEvent.BLOCK_DESTROY, Sprinting GameEvent.STEP
Detection Radius16 blocks (AABB inflation)
Panic Duration100 ticks ($5.0\text{ seconds}$)
Panic Flight ResponseDisperses from group, flies rapidly in opposite vector ($0.15\text{ accel}$)
Panic AudioBAT_TAKEOFF (Vol 0.8, Pitch 1.0) & PHANTOM_FLAP (Vol 0.5, Pitch 0.6)
Echolocation ConditionSky Light == 0 && Block Light < 4

☕ 独立开发者寄语:如果你喜欢蝙蝠逼真的三维群飞和鸟粪为庄稼施肥的生态体验,欢迎在 Ko-fi 上支持我的独立开发!


⚡ 振动感知与惊恐反应 ​

Bats in roosting or calm flight states maintain high acoustic sensitivity. Loud game events (explosions, mining stone, sprinting players) within a 16-block radius immediately trigger BatPanicGoal at top priority. Bats disengage from roosts, break flock cohesion, and scatter away from the disturbance source at boosted flight speeds.


🦇 回声定位脉冲与粒子 ​

In deep, unlit caves (Sky Light == 0 and Block Light < 4), bats emit periodic echolocation clicks. Each click emits subtle ParticleTypes.SCULK_SOUL particles forward from the bat's head, simulating biological sonic navigation in pitch darkness.


Next: 音效与视觉粒子参考 | 行为配置与状态访问器

Official documentation & web portal for Dasik Igaijinn mods.