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`
]

onEvent('worldgen.remove', event => {
	
	event.removeOres(ores => {
		ores.blocks = [`appliedenergistics2:quartz_ore`, `appliedenergistics2:charged_quartz_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
	
	oresToRemove.forEach(ore => event.removeFeatureById(`underground_ores`, `${ore}`))

	
	event.printFeatures('underground_ores')
	

	
})