🦇 박쥐 생태, 주광 기피 및 낮 휴식 메커니즘
📌 저장소 소스 코드 면책 조항: 본 위키 문서는 저장소의 현재 소스 코드 상태를 반영하며, CurseForge 및 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 |
☕ 1인 개발자 노트: 사실적인 3D BOIDs 군집 비행과 농작물을 비옥하게 만드는 구아노 시비 시스템이 마음에 드셨다면, Ko-fi에서 개발자를 후원해 주세요!
☀️ 낮 시간대 주광 기피 메커니즘
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).
🪨 매달리기 휴식 표면 판정
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 군집 비행 및 물리 | 구아노 생성 및 작물 비료
