Skip to content

🔊 Akustische Echolokation & Vibrationspanik ​

📌 Quellcode-Hinweis: Die Dokumentation in diesem Wiki gibt den aktuellen Stand des Quellcodes im Repository wieder, einschließlich unfertiger Commits und Entwicklungsfunktionen vor der offiziellen Veröffentlichung auf CurseForge und 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

☕ Solo-Entwickler-Notiz: Wenn dir die realistischen 3D-Fledermausschwärme und die Guano-Düngung deiner Felder gefallen, unterstütze mich gerne auf Ko-fi!


⚡ Schwingungswahrnehmung & Panikreaktion ​

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.


🦇 Echolokations-Impulse & Partikel ​

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: Sounds & visuelle Partikel | Verhaltensprofile & Status

Official documentation & web portal for Dasik Igaijinn mods.