🦇 Ecología de murciélagos, fotofobia y reposo diurno
📌 Aviso sobre el código fuente del repositorio: La documentación de esta Wiki refleja el estado actual del código fuente en el repositorio, que puede incluir confirmaciones recientes o características en desarrollo no disponibles aún en CurseForge o Modrinth.
| Feature Parameter | Specification Details |
|---|---|
| Primary AI Goal Class | net.vanillaoutsider.betterbats.ai.BatSleepGoal |
| Roost Validator Class | net.vanillaoutsider.betterbats.ai.BatRoostHelper |
| Daytime Sky Light Limit | Sky Light == 0 |
| Daytime Block Light Limit | Block Light <= 7 |
| Roost Search Radius | 16 blocks (Horizontal) / 10 blocks (Vertical) |
| Cluster Preference | Prefers roosting within 5x3x5 blocks of existing resting bats |
| Supported Roost Surfaces | Solid ceilings, stalactites, lanterns, chains, fences, walls, leaves |
☕ Nota del desarrollador: Si disfrutas de los murciélagos en bandadas 3D realistas y fertilizando cultivos con guano, ¡apoya mi trabajo en Ko-fi!
☀️ Mecánicas 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).
🪨 Superficies válidas de reposo
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: Bandadas 3D BOIDs y física | Producción de guano y abono
