⚙️ Tableau des règles de jeu dynamiques (GameRules)
📌 Clause de non-responsabilité relative au code source : La documentation de ce Wiki reflète l'état actuel du code source dans le dépôt, incluant d'éventuels commits récents non publiés sur CurseForge ou 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.
☕ Note du développeur: Si vous appréciez les nuées de chauves-souris en 3D réaliste fertilisant vos cultures avec leur guano, soutenez mon travail sur Ko-fi !
📋 Matrice complète des GameRules
| 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: Diagnostics HUD et menus | Commandes et progrès
