⚙️ 动态游戏规则参考表
📌 代码仓库源码免责声明:本维基文档反映了仓库当前的源代码状态,可能包含领先于 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 诊断与配置界面 | 指令与进度系统指南
