🦇 Umgebungs-Spawning & Gewichtungsmodifikatoren
📌 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.
| Parameter | Specification Details |
|---|---|
| Spawn Injector Mixin | net.vanillaoutsider.betterbats.mixin.NaturalSpawnerMixin |
| Surface Spawn Mixin | net.vanillaoutsider.betterbats.mixin.BatMixin.betterbats$onCheckBatSpawnRules |
| Mob Category | MobCategory.AMBIENT |
| Vanilla Base Spawn Weight | 10 |
| Mod Default Weight | 30 (better-bats:bat_spawn_weight) |
| Valid Surface Spawn Block Tag | #minecraft:bats_spawnable_on |
| Surface Spawn Sky Light | Sky Light <= 7 (Nighttime or dark forest cover) |
☕ 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!
🌲 Nächtliches Oberflächen-Spawning
In vanilla Minecraft, bats are restricted almost exclusively to dark underground depths. Better Bats extends spawning to the surface world during nighttime hours (Sky Light <= 7) over natural surface blocks (grass, leaves, stone), introducing twilight swarms outside caves.
🕳️ Dynamischer Höhlen-Spawngewichtsersatz
The ambient spawner weight dynamically scales via better-bats:bat_spawn_weight:
$$P_{\text{spawn}} = \frac{W_{\text{bat}}}{\sum W_{\text{ambient}}}$$
Where $W_{\text{bat}}$ defaults to 30 (3x vanilla density), configurable without restarting the server.
Next: Dynamische GameRules-Tabelle | Fledermaus-Ökologie & Schlaf
