//ores.biomes.values = [ 'minecraft:plains' ] // Removes it only from plains biomes

onEvent('worldgen.remove', event => {
    event.removeOres(ores => {
      ores.blocks = ['mana-and-artifice:vinteum_ore','organics:ender_pearl_ore','organics:gunpowder_ore'] // Removes coal and iron ore
    })
})

onEvent('worldgen.add', event => {
    event.addOre(ore => {
        ore.block = 'mana-and-artifice:vinteum_ore'
        ore.clusterMinSize = 2 // Min blocks per cluster (currently ignored, will be implemented later, it's always 1)
        ore.clusterMaxSize = 5 // Max blocks per cluster
        ore.clusterCount = 30 // Clusters per chunk
        ore.minHeight = 0 // Min Y ore spawns in
        ore.maxHeight = 64 // Max Y ore spawns in
        ore.squared = true // Adds random value to X and Z between 0 and 16. Recommended to be true
        ore.chance = 4 // Spawns the ore every ~4 chunks. You usually combine this with clusterCount = 1 for rare ores
    })
})