Skip to content

Weighted Pool

  • Id: moderner_beta:weighted_pool
  • Inputs: none
  • Uses seed: yes
  • Added in: 3.0.0

The Weighted Pool layer is similar to the Random Biome layer except each biome has an associated weight.

Properties

  • biomes
    • Type: list[{data: biome, weight: int}]
    • Default: required
    • Description: The list of weighted biomes to choose.

Example

The Weighted Pool layer is used for generating climates in 1.7+ worlds.

JSON

json
{
  "type": "moderner_beta:weighted_pool",
  "id": "climate",
  "seed": 2,
  "targets": [
    {
      "data": {
        "type": "biome",
        "value": "minecraft:snowy_plains*climate"
      },
      "weight": 1
    },
    {
      "data": {
        "type": "biome",
        "value": "minecraft:taiga*climate"
      },
      "weight": 1
    },
    {
      "data": {
        "type": "biome",
        "value": "minecraft:desert*climate"
      },
      "weight": 4
    }
  ]
}

Output