Skip to content

⚙️ Namespaced GameRules & Configuration

NOTE

📌 Отказ от ответственности за статус исходного кода: Документация в этой Wiki отражает текущее состояние исходного кода в репозитории (v1.3.4+26.2), которое может содержать недавние неопубликованные коммиты или функции разработки, опережающие общедоступные релизы на CurseForge и Modrinth.


📋 System Infobox

PropertyValue
Configuration ArchitectureNative Namespaced GameRules & JSON Fallback
In-Game GUI LibraryYetAnotherConfigLib (YACL v3) & ModMenu
Config File Pathconfig/naturalreproduction.json
World Save PersistenceStored natively in level.dat GameRules
Total Registered GameRules35+ GameRules
Hot Reload SupportFull /naturalreproduction reload support

⚠️ Important: Global Config vs. In-Game GameRules

WARNING

Understanding Global Config vs. World GameRules
The file config/naturalreproduction.json only sets initial default values for brand-new worlds at the moment of world creation.
Once a world has been created, changing the JSON config file will have no effect on existing saves. To adjust settings in an existing world, use the Edit Game Rules UI menu or the /naturalreproduction set / /gamerule commands.


📊 Complete Namespaced GameRules Master Table

1. Core Simulation & Density Controls

GameRuleTypeDefaultDescription
natural-reproduction:enabledBooleantrueMaster toggle for all autonomous wild breeding checks.
natural-reproduction:density_capInteger10Maximum same-species entities within 16 blocks permitted for breeding.
natural-reproduction:rateInteger24000Average interval in ticks between autonomous breeding attempts (24000 = 1 MC Day).
natural-reproduction:min_scaleInteger50Minimum physical body scale percentage (50 = 0.50x).
natural-reproduction:max_scaleInteger130Maximum physical body scale percentage (130 = 1.30x).
natural-reproduction:scale_dropsBooleantrueEnables loot drops scaling proportionally with physical body size.

2. Advanced Husbandry & Environmental Mechanics

GameRuleTypeDefaultDescription
natural-reproduction:cramped_space_penaltyBooleantrueEnables size stunting in tight pens and spacious pasture recovery.
natural-reproduction:inbreeding_degradationBooleantrueEnables multi-generational lineage tracking and inbreeding collapse.
natural-reproduction:pasture_enrichmentBooleantrueEnables Well-Nourished bonuses from hay, water, and shelter.
natural-reproduction:overgrazingBooleantrueEnables grass block wear into dirt/coarse dirt under dense herds.
natural-reproduction:gestation_periodBooleantrueEnables pregnancy gestation countdown timers for autonomous breeding.
natural-reproduction:manual_gestationBooleantrueApplies pregnancy gestation countdowns to manual player hand-feeding.
natural-reproduction:gestation_durationInteger24000Duration of pregnancy countdown in ticks (24000 = 1 MC Day).
natural-reproduction:fertilized_chicken_eggsBooleantrueChickens lay 100% hatch Fertilized Eggs during wild breeding.
natural-reproduction:chicken_infertile_regular_eggsBooleantrueReduces unfertilized regular egg hatch chance to 1/64.
natural-reproduction:dispenser_egg_hatch_chanceInteger75Hatch percentage for dispenser-fired Fertilized Eggs.
natural-reproduction:herd_dynamicsBooleantrueAnimals elect Alpha leaders and follow them in pastoral flocking.
natural-reproduction:herd_stampedeBooleantrueHerds panic in synchronized stampedes when attacked.
natural-reproduction:biome_fertilityBooleantrueAnimals in native biomes gain 2x breeding speed and +15% quality.
natural-reproduction:biome_variantsBooleantrueOffspring adapt visual skin variants based on local climate.
natural-reproduction:tracker_logsBooleanfalseRecords autonomous reproduction events to console and log files.

3. Individual Species Toggles (27 Species)

GameRuleTypeDefaultSpecies Target
natural-reproduction:allow_cowBooleantrueCows
natural-reproduction:allow_mooshroomBooleantrueMooshrooms
natural-reproduction:allow_sheepBooleantrueSheep
natural-reproduction:allow_pigBooleantruePigs
natural-reproduction:allow_chickenBooleantrueChickens
natural-reproduction:allow_wolfBooleantrueWolves (all 9 variants)
natural-reproduction:allow_foxBooleantrueFoxes (Red & Snow)
natural-reproduction:allow_catBooleantrueCats
natural-reproduction:allow_ocelotBooleantrueOcelots
natural-reproduction:allow_horseBooleantrueHorses
natural-reproduction:allow_donkeyBooleantrueDonkeys
natural-reproduction:allow_muleBooleantrueMules
natural-reproduction:allow_llamaBooleantrueLlamas
natural-reproduction:allow_trader_llamaBooleantrueTrader Llamas
natural-reproduction:allow_camelBooleantrueCamels
natural-reproduction:allow_goatBooleantrueGoats
natural-reproduction:allow_rabbitBooleantrueRabbits
natural-reproduction:allow_frogBooleantrueFrogs (Warm, Cold, Temperate)
natural-reproduction:allow_turtleBooleantrueSea Turtles
natural-reproduction:allow_axolotlBooleantrueAxolotls
natural-reproduction:allow_beeBooleantrueHoney Bees
natural-reproduction:allow_pandaBooleantruePandas
natural-reproduction:allow_polar_bearBooleantruePolar Bears
natural-reproduction:allow_armadilloBooleantrueArmadillos
natural-reproduction:allow_snifferBooleantrueSniffers
natural-reproduction:allow_striderBooleantrueStriders
natural-reproduction:allow_hoglinBooleantrueHoglins

🖥️ Optional GUI Integration (YACL v3 & ModMenu)

When installed on the client alongside YetAnotherConfigLib (YACL) and ModMenu, Natural Reproduction provides a clean visual configuration screen accessible directly from the ModMenu interface.


Поддержка разработки: Если вам нравится мод, поддержите автора на Ko-fi для раннего доступа к тестовым сборкам!


Official documentation & web portal for Dasik Igaijinn mods.