# World settings

Meteors, block spread, structure loot amounts and ore generation switches.

Registry: `hbm:world_config`. Files: `data/hbm/hbm/world_config/<group>.json`. See [Game settings](https://movblock.mov/ntm-next/wiki/game-settings.md) for loading, replacement and validation.

## meteors

Meteors fall within 100 blocks of a random Overworld player. Each server tick runs the meteor rolls once per dimension; only the Overworld's rolls drop meteors.

| Field | Meaning and default | Range |
| - | - | - |
| `enable_showers` | Enables meteor showers; requires `enable_strikes`; default `true`. | |
| `enable_special` | Falling-meteor impacts form one of 11 special meteorite structures with chance 11/300; default `true`. | |
| `enable_strikes` | Enables meteor strikes; `false` also removes falling meteors; default `true`. | |
| `enable_tails` | Meteor flame trails and impact rubble and particles; default `true`. | |
| `shower_chance` | During a shower, chance 1 in this value per Overworld tick to drop a meteor; default `18000`. | `[1, i32::MAX]` |
| `shower_duration` | Shower length: random from 0.75 to 1 times this value, counted down once per dimension each tick; default `36000`. | `[0, i32::MAX]` |
| `strike_chance` | Outside a shower, chance 1 in this value per Overworld tick to drop a meteor. Each dimension's tick also starts a shower with chance 1 in 100 × this value. Default `360000`. | `[1, 21474836]` |

Example: `data/hbm/hbm/world_config/meteors.json`.

```json
{
  "enable_showers": true,
  "enable_special": true,
  "enable_strikes": true,
  "enable_tails": true,
  "shower_chance": 18000,
  "shower_duration": 36000,
  "strike_chance": 360000
}
```

## world

| Field | Meaning and default |
| - | - |
| `enable_impact_atmosphere` | Impact dust and fire darken and tint the Overworld sky, light and fog; default `true`. |
| `enable_mycelium_spread` | Glowing Mycelium spreads to nearby dirt, grass, mycelium and Dead Grass, and a Glowing Mushroom turns the Dead Grass below it into Glowing Mycelium; default `false`. |
| `enable_virus_spread` | On random ticks, Dark Crystal spreads to adjacent blocks, then hardens into Hardened Dark Crystal; default `false`. |

Example: `data/hbm/hbm/world_config/world.json`.

```json
{
  "enable_impact_atmosphere": true,
  "enable_mycelium_spread": false,
  "enable_virus_spread": false
}
```

## loot

| Field | Meaning and default | Range |
| - | - | - |
| `amount_factor` | Multiplier `f` for [`hbm:config_scaled`](https://movblock.mov/ntm-next/wiki/loot-tags-and-advancements.md#scaled-rolls) loot values `v`: $\max(1, \lfloor v f \rfloor)$; default `1`. | `[0, 1000]` |

Example: `data/hbm/hbm/world_config/loot.json`.

```json
{
  "amount_factor": 1
}
```

## worldgen

Placed features with the [`hbm:world_config` placement modifier](https://movblock.mov/ntm-next/wiki/world-generation.md#placed-feature-modifiers) generate while every named switch is on. Changes apply to newly generated chunks.

| Field | Meaning and default |
| - | - |
| `coltan_deposit` (since NTM 1.0.4) | Enables the coltan deposit; also requires `overworld_ores`; default `true`. |
| `coltan_spawn` | Scattered coltan ore `hbm:ore_coltan`; also requires `overworld_ores`; default `false`. |
| `end_ores` | End ores; default `true`. |
| `nether_ores` | Nether ores, deposits and bedrock ore; default `true`. |
| `nether_plutonium` | Nether plutonium ore `hbm:ore_nether_plutonium`; also requires `nether_ores`; default `false`. |
| `overworld_ores` | Overworld ores, clusters, deposits and bedrock ore; default `true`. |

Example: `data/hbm/hbm/world_config/worldgen.json`.

*NTM 1.0.0–1.0.3:*

```json
{
  "coltan_spawn": false,
  "end_ores": true,
  "nether_ores": true,
  "nether_plutonium": false,
  "overworld_ores": true
}
```

*NTM 1.0.4:*

```json
{
  "coltan_deposit": true,
  "coltan_spawn": false,
  "end_ores": true,
  "nether_ores": true,
  "nether_plutonium": false,
  "overworld_ores": true
}
```

> **since NTM 1.0.4**
>
> ## mode_528
>
> File: `data/hbm/hbm/world_config/mode_528.json`. Both switches require the server's 528 mode.
>
> | Field | Meaning and default |
> | - | - |
> | `explosive_energistics` | Using an AE2 block destroys the clicked block and causes an explosion; default `true`. |
> | `nether_burn` | Players without fire immunity catch fire in dimensions with the Nether dimension type; default `true`. |
>
> ```json
> {"explosive_energistics": true, "nether_burn": true}
> ```
