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.