onEvent('worldgen.remove', event => {
	/*
	event.removeOres(ores => {
		ores.blocks = [`imersiveengineering:ore_copper`, `immersiveengineering:ore_aluminum`, `immersiveengineering:ore_lead`, `immersiveengineering:ore_silver`, `immersiveengineering:ore_nickel`, `immersiveengineering:ore_uranium`, `mekanism:copper_ore`, `mekanism:tin_ore`, `mekanism:osmium_ore`, `mekanism:uranium_ore`, `mekanism:fluorite_ore`, `mekanism:lead_ore`, `create:copper_ore`, `create:zinc_ore`]
		
		//ores.biomes.values = [ 'minecraft:plains' ] // Removes it only from plains biomes
	})
	*/
	
	// May be one of the decoration types/levels described in worldgen.add docs
	// But ores are *most likely* to be generated in this one
	
	//event.printFeatures('underground_ores')
	
	oresToRemove.forEach(ore => event.removeFeatureById(`underground_ores`, `${ore}`))

	
})

const oresToRemove = [
	`mekanism:ore_copper`
	`mekanism:ore_tin`
	`mekanism:ore_osmium`
	`mekanism:ore_uranium`
	`mekanism:ore_fluorite`
	`mekanism:ore_lead`
	`mekanism:salt`
	`rftoolsbase:dimshard_overworld`
	`minecraft:create_copper_ore`
	`minecraft:create_weathered_limestone`
	`minecraft:create_zinc_ore`
	`immersiveengineering:nickel`
	`immersiveengineering:mineral_veins`
	`immersiveengineering:copper`
	`immersiveengineering:bauxite`
	`immersiveengineering:silver`
	`immersiveengineering:uranium`
	`immersiveengineering:lead`
]