# Per Dimension Generator

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

### Enabling Per Dimension Generator

You can enable it by changing

```javascript
config.enablePerDimensionGenerator = false
```

to

```javascript
config.enablePerDimensionGenerator = true
```

### Customizing Dimension Generator

For more information adding, changing and removing block from generator:

{% content-ref url="/pages/vtvyj0jHydUl1C4CL0L6" %}
[Generator Blocks and Chances](/configuration/generator-blocks-and-chances.md)
{% endcontent-ref %}

#### Overworld

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hirzigamingyt.gitbook.io/configuration/per-dimension-generator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
