🌍 Biome Variant Adaptation & Climate Fertility
"Animals thrive where nature intended them to live."
In vanilla Minecraft, animal variants (such as Wolf coat colors or Frog variants) are locked to the specific biome where an egg was placed or spawned. Natural Reproduction creates dynamic ecological adaptation: animals breeding in their native biomes gain substantial fertility bonuses, and offspring born in specialized biomes naturally adapt their visual variant skins.
📋 System Infobox
| Property | Value |
|---|---|
| Feature Name | Biome Adaptation & Climate Fertility |
| Biome Fertility Toggle | natural-reproduction:biome_fertility (Default: true) |
| Biome Variants Toggle | natural-reproduction:biome_variants (Default: true) |
| Native Biome Speed Boost | 2.0x Faster Breeding Evaluation Frequency |
| Native Biome Quality Buff | +15% Baseline Genetics & Health Quality |
| Supported Adaptive Species | Wolves (9 variants), Frogs (3 variants), Rabbits (6 variants), Foxes (2 variants) |
| Primary Helper | AnimalBiomeHelper.java |
🎮 Player & Survival Workflow
- 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.
- 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.
- When animals deliver offspring in a new biome, the baby dynamically adapts its visual skin variant based on the local temperature and climate:
🧮 Climate Fertility & Variant Matrix
1. Climate Fertility Multipliers
| Species | Native Biome Categories | Breeding Rate Multiplier | Genetics Quality Bonus |
|---|---|---|---|
| Cow, Sheep, Horse | Plains, Meadow, Savanna | 2.0x | +15% Scale / HP |
| Pig | Swamps, Forests, Farmlands | 2.0x | +15% Scale / HP |
| Wolf | Taigas, Forests, Groves | 2.0x | +15% Attack / HP |
| Camel | Deserts, Badlands | 2.0x | +15% Speed / Scale |
| Frog | Swamps, Mangrove Swamps | 2.0x | +15% Jump / HP |
| Goat | Jagged Peaks, Snowy Slopes | 2.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()));
}