ScarletWorldModifier
A configurable Sponge plugin for modifying world generation by replacing blocks.
Edit scarlet_world_modifier.conf
in config
directory to manage block replacements in specific worlds and biomes.
Sample config
config {
world-name {
biomes {
"biome-id" {
"original-block-id"="final-block-id"
}
}
global {
"original-block-id"="final-block-id"
}
}
}
Important!
If final-block-id is invalid, then block with original-block-id will be replaced by stone.
In order for the plugin to replace blocks in world with name world-name, there needs to be following entry in file config/ sponge/worlds/minecraft/
dimension
/
world-name
/world.conf
:
world-generation-modifiers=[
"scarlet_world_modifier:swm"
]
Examples
Hell
Config:
config {
hell {
global {
"minecraft:dirt"="minecraft:netherrack"
"minecraft:grass"="minecraft:netherrack"
"minecraft:gravel"="minecraft:soul_sand"
"minecraft:hardened_clay"="minecraft:netherrack"
"minecraft:ice"="minecraft:lava"
"minecraft:mycelium"="minecraft:netherrack"
"minecraft:mossy_cobblestone"="minecraft:netherrack"
"minecraft:red_sand"="minecraft:soul_sand"
"minecraft:red_sand"="minecraft:netherrack"
"minecraft:sand"="minecraft:soul_sand"
"minecraft:snow"="minecraft:air"
"minecraft:snow_layer"="minecraft:air"
"minecraft:packed_ice"="minecraft:air"
"minecraft:stained_hardened_clay"="minecraft:netherrack"
"minecraft:stone"="minecraft:netherrack"
"minecraft:water"="minecraft:lava"
}
}
}
Arid
Config:
config {
arid {
global {
"minecraft:grass"="minecraft:dirt[variant=coarse_dirt]"
"minecraft:ice"="minecraft:water"
"minecraft:snow"="minecraft:air"
"minecraft:snow_layer"="minecraft:air"
"minecraft:packed_ice"="minecraft:air"
"minecraft:water"="minecraft:air"
}
}
}