#Disable vanilla ore generation
12 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
You sure you tried everything you possibly could to fix your issue? Perhaps not.
Make sure you have searched for issues similar to yours in #1047320998199955458 before posting. They might have the answer to your problem!
You can add and remove worldgen features with KubeJS, and the wiki has pages on those!
WorldgenEvents.remove(event => {
event.removeFeatureById('underground_ores',
['minecraft:ore_coal_upper', 'minecraft:ore_coal_lower'])
}
you could try something like this
oh wait
sorry
second try would be to do it through a datapack
With a datapack you could do this via forge's biome_modifier and a vanilla override
kubejs\data\yourdatapack\forge\biome_modifier\remove_vanilla_overworld_ores.json
{ "type": "forge:remove_features", "biomes": "#minecraft:is_overworld", "features": [ "minecraft:ore_coal_lower", "minecraft:ore_coal_upper", "minecraft:ore_copper", "minecraft:ore_copper_large", "minecraft:ore_iron_middle", "minecraft:ore_iron_small", "minecraft:ore_iron_upper", "minecraft:ore_gold", "minecraft:ore_gold_extra", "minecraft:ore_gold_lower", "minecraft:ore_diamond", "minecraft:ore_diamond_buried", "minecraft:ore_diamond_large", "minecraft:ore_emerald", "minecraft:ore_gold", "minecraft:ore_gold_extra", "minecraft:ore_gold_lower", "minecraft:ore_lapis", "minecraft:ore_lapis_buried", "minecraft:ore_redstone", "minecraft:ore_redstone_lower", "minecraft:ore_infested" ] }
This will remove almost all the overworld vanilla ores, it will not remove the 2 scattered ore veins of iron/copper.
The scattered ore veins can be disabled by overriding and setting 'ore_veins_enabled' to false (line 334) in overworld.json, found at minecraft.jar data\minecraft\worldgen\noise_settings\overworld.json
- make copy of overworld.json and paste at below dir before editing.
kubejs\data\minecraft\worldgen\noise_settings\overworld.json
Thanks!