> For the complete documentation index, see [llms.txt](https://hirzigamingyt.gitbook.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hirzigamingyt.gitbook.io/configuration/per-dimension-generator.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
