> ## Documentation Index
> Fetch the complete documentation index at: https://docs.znproject.my.id/llms.txt
> Use this file to discover all available pages before exploring further.

# Per-dimension generator

> Enable separate generator block lists for the Overworld, Nether, and End, with configurable block identifiers and spawn chances.

You can create a per-dimension generator so each dimension has its own generator configuration.

## Enable per-dimension generator

```javascript theme={null}
config.enablePerDimensionGenerator = true
```

For block list details, see [Generator blocks and chances](https://docs.znproject.my.id/ccbg/configuration/generator-blocks-and-chances.md).

### Overworld

```javascript theme={null}
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 }
]
```

### Nether

```javascript theme={null}
config.nether = [
  { identifier: "basalt", chance: 40 },
  { identifier: "quartz_ore", chance: 30 },
  { identifier: "nether_gold_ore", chance: 20 },
  { identifier: "ancient_debris", chance: 10 },
]
```

### The End

```javascript theme={null}
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 }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.