- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3
Sub‐Biome Placement
        gniftygnome edited this page Mar 27, 2024 
        ·
        22 revisions
      
    Adding a sub-biome requires the relevant dimension key, the biome key of the target biome to replace, the biome key of the biome to replace it with, and a sub-biome matcher indicating the conditions for replacement of the target biome. Sub-biomes can target replacement biomes as well as vanilla/data biomes.
Methods: addSubOverworld, addSubNether, addSubEnd
See also: sub-biome matcher
BiomePlacement.addSubOverworld(BiomeKeys.DESERT, BiomeKeys.OLD_GROWTH_PINE_TAIGA, SubBiomeMatcher.of(SubBiomeMatcher.NEAR_INTERIOR));Multiple sub-biomes can be specified in the sub_biomes list.
See also: sub-biome matcher
{
  "sub_biomes": [
    {
      "dimension": "minecraft:overworld",
      "target": "minecraft:desert",
      "biome": "minecraft:old_growth_pine_taiga",
      "matcher": {
        "criteria": [
          {
            "target": "center",
            "type": "ratio",
            "max": 0.2
          }
        ]
      }
    }
  ]
}