Skip to content

🦇 Ecologia dos morcegos, fotofobia e poleiros diurnos ​

📌 Aviso sobre o Código-Fonte do Repositório: A documentação desta Wiki reflete o estado atual do código-fonte no repositório, podendo incluir commits recentes ou recursos em desenvolvimento não lançados no CurseForge ou 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

☕ Nota do desenvolvedor: Se você gosta dos morcegos em revoadas 3D realistas e fertilizando plantações com guano, apoie meu trabalho solo no Ko-fi!


☀️ Mecânica de fotofobia diurna ​

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


🪨 Superfícies válidas de poleiro ​

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: Revoadas 3D BOIDs e física | Produção de guano e adubo

Official documentation & web portal for Dasik Igaijinn mods.