🔊 音效與視覺粒子參考
📌 代碼倉庫原始碼免責聲明:本維基文件反映了倉庫當前的原始碼狀態,可能包含領先於 CurseForge 與 Modrinth 上公開發布版本的最新開發提交或未發布功能。
🎨 粒子發射矩陣
| Particle Type | Trigger Condition | Quantity | Spread / Velocity | Description |
|---|---|---|---|---|
ParticleTypes.SCULK_SOUL | Echolocation click in dark caves (Sky=0, Block<4) | 2 | dx:0.08, dy:0.08, dz:0.08, Speed 0.02 | Echolocation sonic pulse emitted from bat head |
ParticleTypes.HAPPY_VILLAGER | Successful guano crop bonemeal growth | 5 | dx:0.2, dy:0.2, dz:0.2, Speed 0.05 | Green sparkles around fertilized crop |
ParticleTypes.MYCELIUM | Guano accumulation on non-crop soil | 3 | dx:0.2, dy:0.1, dz:0.2, Speed 0.01 | Spore particles over soil block |
ParticleTypes.CRIT | Nighttime phototaxis light orbiting (BatHuntLightGoal) | 3 | dx:0.2, dy:0.2, dz:0.2, Speed 0.05 | Critical trail particles emitted near light center |
☕ 獨立開發者寄語:如果你喜歡蝙蝠逼真的三維群飛和鳥糞為莊稼施肥的生態體驗,歡迎在 Ko-fi 上支持我的獨立開發!
🎵 音效事件觸發
BAT_TAKEOFF: Pitch1.0f, volume0.8f, played upon panic scattering.PHANTOM_FLAP: Pitch0.6f, volume0.5f, played during aggressive dive-bomb attacks.BAT_AMBIENT: Pitch0.5f, emitted during light orbiting and hunting.
Related: 迴聲定位與振動驚恐 | 鳥糞生成與農作物施肥
