# hbm:world_config

Gates placement on the world's generation switches.

Passes the input position while every switch in `switches` is enabled in the [`worldgen` world settings](https://movblock.mov/ntm-next/wiki/game-settings/world_config.md#worldgen). An empty array passes every position.

## Fields

| Field | Meaning and default |
| - | - |
| `type` | `hbm:world_config`. |
| `switches` | World-generation switches that must all be enabled. |
| `switches.switch name` | overworld_ores, nether_ores, end_ores, coltan_spawn, or nether_plutonium. |

## Example:

An entry in a placed feature's `placement` array:

```json
{"type": "hbm:world_config", "switches": ["overworld_ores", "coltan_spawn"]}
```
