🔊 音效与视觉粒子参考
📌 代码仓库源码免责声明:本维基文档反映了仓库当前的源代码状态,可能包含领先于 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: 回声定位与振动惊恐 | 鸟粪生成与农作物施肥
