Skip to content

🦇 Fledermaus-Ökologie, Photophobie & Schlafverhalten ​

📌 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.

Feature ParameterSpecification Details
Primary AI Goal Classnet.vanillaoutsider.betterbats.ai.BatSleepGoal
Roost Validator Classnet.vanillaoutsider.betterbats.ai.BatRoostHelper
Daytime Sky Light LimitSky Light == 0
Daytime Block Light LimitBlock Light <= 7
Roost Search Radius16 blocks (Horizontal) / 10 blocks (Vertical)
Cluster PreferencePrefers roosting within 5x3x5 blocks of existing resting bats
Supported Roost SurfacesSolid ceilings, stalactites, lanterns, chains, fences, walls, leaves

☕ 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!


☀️ Photophobie-Mechanik am Tag ​

When the sun rises in the Overworld (world.isDay()), bats activate photophobia. Bats will refuse to remain in exposed areas where daylight reaches (Sky Light > 0). Instead, they search for dark subterranean caverns or dense overhangs (Sky Light == 0 and Block Light <= 7).


🪨 Gültige Ruheoberflächen ​

BatRoostHelper dynamically evaluates ceiling blocks suitable for inverted hanging:

  • Pointed dripstone tips (#minecraft:pointed_dripstone).
  • Ceiling-mounted chains (minecraft:chain) and iron bars.
  • Lantern bases (minecraft:lantern, minecraft:soul_lantern).
  • Leaves in dark forest canopies.
  • Any solid opaque block underside with clear air underneath.

Next: 3D-BOIDs Schwarm-Algorithmus | Guano-Erzeugung & Düngung

Official documentation & web portal for Dasik Igaijinn mods.