Skip to content

🌍 Biome Variant Adaptation & Climate Fertility

NOTE

📌 代碼倉庫源碼狀態免責聲明:本 Wiki 文件反映了代碼倉庫中的當前源碼狀態v1.3.4+26.2)。可能包含領先於 CurseForge 與 Modrinth 公開發布版本的最新未發布提交或開發特性。


📋 System Infobox

PropertyValue
Feature NameBiome Adaptation & Climate Fertility
Biome Fertility Togglenatural-reproduction:biome_fertility (Default: true)
Biome Variants Togglenatural-reproduction:biome_variants (Default: true)
Native Biome Speed Boost2.0x Faster Breeding Evaluation Frequency
Native Biome Quality Buff+15% Baseline Genetics & Health Quality
Supported Adaptive SpeciesWolves (9 variants), Frogs (3 variants), Rabbits (6 variants), Foxes (2 variants)
Primary HelperAnimalBiomeHelper.java

🎮 Player & Survival Workflow

  1. Native Climate Fertility:
    • Animals kept in their native climate biomes (e.g. Wolves in Taigas, Camels in Deserts, Frogs in Mangrove Swamps, Polar Bears in Ice Plains) breed twice as often.
  2. Adaptive Offspring Skin Variants:
    • When animals deliver offspring in a new biome, the baby dynamically adapts its visual skin variant based on the local temperature and climate:
      • Wolves: Born in Snowy Taigas → Snowy Wolf; born in Old Growth Pine → Black Wolf; born in Savannas → Ashen Wolf.
      • Frogs: Warm biomes (Desert, Jungle) → Warm (Orange) Frog; Cold biomes (Snowy, Deep Ocean) → Cold (Green) Frog; Temperate → Temperate (Grey) Frog.
      • Rabbits: Deserts → Desert Coat; Snowy Plains → White Coat; Forests → Brown Coat.
      • Foxes: Cold & Snowy biomes → Snow Fox; Temperate biomes → Red Fox.

🧮 Climate Fertility & Variant Matrix

1. Climate Fertility Multipliers

SpeciesNative Biome CategoriesBreeding Rate MultiplierGenetics Quality Bonus
Cow, Sheep, HorsePlains, Meadow, Savanna2.0x+15% Scale / HP
PigSwamps, Forests, Farmlands2.0x+15% Scale / HP
WolfTaigas, Forests, Groves2.0x+15% Attack / HP
CamelDeserts, Badlands2.0x+15% Speed / Scale
FrogSwamps, Mangrove Swamps2.0x+15% Jump / HP
GoatJagged Peaks, Snowy Slopes2.0x+15% Jump / HP

2. Algorithmic Variant Resolution

java
// Determines the visual skin variant based on delivery biome
Holder<Biome> currentBiome = level.getBiome(offspring.blockPosition());
AnimalBiomeHelper.applyBiomeVariant(offspring, currentBiome);

💻 Developer & Mixin Hooks

AnimalBiomeHelper hooks into offspring spawning logic:

java
public static void applyAdaptiveVariant(Animal offspring, ServerLevel level) {
    if (!level.getGameRules().getBoolean(NaturalReproductionFabric.RULE_BIOME_VARIANTS)) {
        return;
    }
    // Resolves Wolf, Frog, Fox, or Rabbit variant registries dynamically
    VariantRegistryHelper.adaptToBiome(offspring, level.getBiome(offspring.blockPosition()));
}

支持模組開發:如果您喜歡本模組,歡迎前往 Ko-fi 支持作者獲取最新開發測試組建!


Official documentation & web portal for Dasik Igaijinn mods.