Skip to main content

WorldgenRemoveEventJS

onEvent('worldgen.remove', event => {
  event.removeOres(ores => {
    ores.blocks = [ 'minecraft:coal_ore', 'minecraft:iron_ore' ] // Removes coal and iron ore
    ores.biomes = [ 'minecraft:plains' ] // Removes it only from plains biomes
  })
})