⚙️ 動態遊戲規則參考表
📌 代碼倉庫原始碼免責聲明:本維基文件反映了倉庫當前的原始碼狀態,可能包含領先於 CurseForge 與 Modrinth 上公開發布版本的最新開發提交或未發布功能。
Category Identifier: better-bats:better_bats (§lBetter Bats)
Better Bats utilizes DynamicGameRuleManager from DasikLibrary to register dynamic, per-world GameRules that sync seamlessly with client configuration menus while backing live world gameplay logic.
☕ 獨立開發者寄語:如果你喜歡蝙蝠逼真的三維群飛和鳥糞為莊稼施肥的生態體驗,歡迎在 Ko-fi 上支持我的獨立開發!
📋 遊戲規則完整矩陣
| GameRule Namespace Key | Type | Default Value | Valid Range | Localization Display Title | Description & Behavior |
|---|---|---|---|---|---|
better-bats:bat_spawn_weight | Integer | 30 | 0 - Integer.MAX_VALUE | Bat Spawn Weight | Weight modifier for natural bat spawning. Set to 0 to disable bat spawning entirely. |
better-bats:bat_guano_threshold | Integer | 12000 | 20 - Integer.MAX_VALUE | Guano Timer Threshold | Roosting ticks required before triggering crop bone meal fertilization ($12000\text{ ticks} = 10\text{ min}$). |
better-bats:bat_drop_guano_item | Boolean | false | true / false | Drop Physical Guano Item | When enabled, drops physical bone_meal items instead of purely applying crop growth. |
better-bats:bat_phototaxis | Boolean | true | true / false | Phototaxis Orbiting | Enables bats to be attracted to lanterns, torches, and light sources at night. |
better-bats:bat_pest_control | Boolean | true | true / false | Pest Control Dive-Bomb | Enables predatory dive-bombing attacks against silverfish and endermites. |
better-bats:bat_panic_vibrations | Boolean | true | true / false | Acoustic Panic Response | Causes bats to scatter when sensing sprinting steps or explosion vibrations. |
better-bats:bat_flocking | Boolean | true | true / false | 3D BOIDs Flocking | Governs cohesion, separation, and alignment flight algorithms. |
better-bats:bat_altitude_caps | Boolean | true | true / false | Surface Altitude Ceiling | Restricts bats from flying higher than 12 blocks above terrain surface. |
better-bats:bat_genetics_enabled | Boolean | true | true / false | Animal Genetics | Governs individual wingspan, speed, and attack attribute genetic variance. |
Related: HUD 診斷與設定界面 | 指令與進度系統指南
