Skip to content

Biome Replacement

  • Id: moderner_beta:biome_replacement
  • Inputs: parent
  • Uses seed: no
  • Added in: 3.0.0

The Biome Replacement layer simply replaces certain biomes with layer targets. It is a simpler and more performant alternative to the Predicate Overlay layer.

Properties

  • targets
    • Type: map[biome, layer-target]
    • Default: required
    • Description: A map of which biomes to transform into which layer targets.

Example

The biome replacement layer is used to apply biomes to landmasses in most presets.

Base land

Layer to replace plains with

json
{
  "id": "biome_pool",
  "seed": 200,
  "biomes": [
    "minecraft:desert",
    "minecraft:forest",
    "moderner_beta:late_beta_extreme_hills",
    "moderner_beta:late_beta_swampland",
    "moderner_beta:late_beta_plains",
    "moderner_beta:late_beta_taiga"
  ],
  "type": "moderner_beta:random_biome"
}

Apply biome replacement

json
{
  "id": "land",
  "seed": 0,
  "parent": "land",
  "targets": {
    "minecraft:plains": {
      "type": "layer",
      "value": "biome_pool"
    }
  },
  "type": "moderner_beta:biome_replacement"
}