🦇 Ekologi Kelelawar, Fotofobia & Tempat Bertengger Siang Hari
📌 Pernyataan Sumber Repositori: Dokumentasi di Wiki ini mencerminkan kondisi kode sumber terkini di repositori, yang mungkin memuat komit atau fitur pengembangan yang belum dirilis di CurseForge atau 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 |
☕ Catatan Pengembang Solo: Jika Anda menyukai kawanan kelelawar 3D BOIDs yang realistis dan pemupukan tanaman otomatis dengan guano, dukung karya saya di Ko-fi!
☀️ Mekanisme Fotofobia Siang Hari
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).
🪨 Permukaan Bertengger yang Valid
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: Kawanan 3D BOIDs & Vektor | Produksi Guano & Pemupukan
