You can also create a per-dimension generator, so each dimension has its own generator configuration.
Enabling Per Dimension Generator
config.enablePerDimensionGenerator = false
config.enablePerDimensionGenerator = true
Customizing Dimension Generator
config.overworld = [
{ identifier: "cobblestone", chance: 14 },
{ identifier: "coal_ore", chance: 13 },
{ identifier: "iron_ore", chance: 13 },
{ identifier: "copper_ore", chance: 12 },
{ identifier: "gold_ore", chance: 11 },
{ identifier: "redstone_ore", chance: 11 },
{ identifier: "lapis_ore", chance: 11 },
{ identifier: "diamond_ore", chance: 10 },
{ identifier: "emerald_ore", chance: 5 }
]
config.nether = [
{ identifier: "basalt", chance: 40 },
{ identifier: "quartz_ore", chance: 30 },
{ identifier: "nether_gold_ore", chance: 20 },
{ identifier: "ancient_debris", chance: 10 },
]
config.the_end = [
{ identifier: "end_stone", chance: 14 },
{ identifier: "deepslate_coal_ore", chance: 13 },
{ identifier: "deepslate_iron_ore", chance: 13 },
{ identifier: "deepslate_copper_ore", chance: 12 },
{ identifier: "deepslate_gold_ore", chance: 11 },
{ identifier: "deepslate_redstone_ore", chance: 11 },
{ identifier: "deepslate_lapis_ore", chance: 11 },
{ identifier: "deepslate_diamond_ore", chance: 10 },
{ identifier: "deepslate_emerald_ore", chance: 4 },
{ identifier: "ancient_debris", chance: 1 }
]