-
-
Notifications
You must be signed in to change notification settings - Fork 7
Tweaking Ore Generation | Ore Tweaker 2
Ore Tweaker has the option to let you tweak how ores spawn in the world. This is achieved by disabling the original ore-generation and replacing it with our own custom ore generation settings.
Ore Tweaker works with some mods that use the standard vanilla Minecraft ore generation like Thermal Expansion. Mods that use their own custom generation can not be tweaked by default.
Most mods allow you to disable their world-gen in their own config files so if you can do it you can then add your own Custom Ore-Generation by following this guide here.
Tweaking ore-generation is fairly easy and can be done by editing the files inside ../config/oretweaker/data/
.
The example below will first disable both coal and iron ores normal world-generation and then replace it with our own custom generation as defined below.
coal_ore.json
{
"oreConfig": [
{
"ore": "minecraft:coal_ore",
"filler": "minecraft:stone",
"minY": 32,
"maxY": 96,
"maxVeinSize": 22,
"spawnRate": 16.0,
"biomeBlacklist": [],
"biomeWhitelist": []
}
]
}
- Coal ores will now only spawn between y-32 and y-96 in veins up to 22 block large. The world-generator will attempt to spawn these veins 16 times per chunk.
You can add multiple spawns for the same ore. In this case iron will spawn in huge veins in mountains, small veins inside desert sandstone and fairly normally in the rest of the world.
{
"oreConfig": [
{
"ore": "minecraft:iron_ore",
"filler": "minecraft:stone",
"minY": 90,
"maxY": 120,
"maxVeinSize": 32,
"spawnRate": 5.0,
"biomeBlacklist": [],
"biomeWhitelist": ["MOUNTAIN"]
},
{
"ore": "minecraft:iron_ore",
"filler": "minecraft:stone",
"minY": 32,
"maxY": 64,
"maxVeinSize": 8,
"spawnRate": 20.0,
"biomeBlacklist": [
"MOUNTAIN",
"minecraft:desert",
"minecraft:desert_hill",
"minecraft:beach"
],
"biomeWhitelist": []
},
{
"ore": "minecraft:iron_ore",
"filler": "minecraft:sandstone",
"minY": 58,
"maxY": 64,
"maxVeinSize": 4,
"spawnRate": 30.0,
"biomeBlacklist": [],
"biomeWhitelist": [
"minecraft:desert",
"minecraft:desert_hill",
"minecraft:beach"
]
}
]
}
Made by Ewy - License MIT
Version | Supported |
---|---|
1.18.x-3.0.x | ✔️ |
1.17.x-2.6.x | ✔️ |
1.16.5-2.6.x | ✔️ |
1.12.x-1.x.x | ❌ |
1.11.x-1.x.x | ❌ |
1.10.x-1.x.x | ❌ |
1.9.x-1.x.x | ❌ |
1.8.x-1.x.x | ❌ |
1.7.x-1.x.x | ❌ |
Versions marked with ❌ is no longer supported. Help to configure these version will not be provided.