Skip to content

Biome Placement

gniftygnome edited this page Mar 27, 2024 · 16 revisions

API options

Biome placement can be configured in code by calling the static methods of com.terraformersmc.biolith.api.biome.BiomePlacement during the mod initialization phase. It can also be configured via datapack JSON in data/{name}/biolith/biome_placement.json.

The JSON file's top level contains lists of the four types of biome placement:

{
  "additions": [
    // biome additions ...
  ],
  "removals": [
    // biome removals
  ],
  "replacements": [
    // biome replacements
  ],
  "sub_biomes": [
    // sub-biome placements
  ]
}

API methods

  • Biomes can be added to multi-noise placement at specified noise hypercubes.

  • Biomes can be completely removed from multi-noise placement.

  • Multi-noise biomes can be replaced at a specified proportion of their vanilla range.

  • Sub-biomes can replace multi-noise or replacement biomes based on a variety of matchers.

Clone this wiki locally