-
Notifications
You must be signed in to change notification settings - Fork 3
Biome Placement
gniftygnome edited this page Oct 2, 2024
·
16 revisions
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; see Example below for a complete example.
-
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 (v2) can replace multi-noise or replacement biomes based on a variety of matchers.
{
"additions": [
{
"dimension": "minecraft:overworld",
"biome": "minecraft:crimson_forest",
"noise": {
"temperature": { "min": -1.0, "max": -0.15 },
"humidity": { "min": -1.0, "max": -0.35 },
"continentalness": { "min": 0.3, "max": 1.0 },
"erosion": { "min": -0.375, "max": 0.05 },
"depth": { "min": 0.0, "max": 0.0 },
"weirdness": { "min": 0.0, "max": 1.0 },
"offset": 0.0
}
}
],
"removals": [
{
"dimension": "minecraft:overworld",
"biome": "minecraft:cherry_grove"
}
],
"replacements": [
{
"dimension": "minecraft:overworld",
"target": "minecraft:plains",
"biome": "minecraft:warped_forest",
"proportion": 0.5
},
{
"dimension": "minecraft:the_nether",
"target": "minecraft:warped_forest",
"biome": "minecraft:end_highlands"
},
{
"dimension": "minecraft:the_end",
"target": "minecraft:end_highlands",
"biome": "minecraft:plains"
}
],
"sub_biomes": [
{
"dimension": "minecraft:overworld",
"target": "minecraft:desert",
"biome": "minecraft:old_growth_pine_taiga",
"criterion": {
"type": "biolith:ratio",
"target": "center",
"max": 0.2
}
}
]
}