# Space world generation

Worldgen types added by NTM Space.

Space's types appear inside vanilla worldgen files: dimensions, noise settings, biomes, carvers and features, structures, structure sets and placed features. Unknown fields are ignored; a missing or invalid field stops the world from loading. [Dimensions and celestial bodies](https://movblock.mov/ntm-next/26.3/wiki/space/dimensions.md) explains how they combine.

| Kind | Types |
| - | - |
| Biome source | [`hbmspace:celestial`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/celestial.md) |
| Density functions | [`celestial_biomes`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/celestial_biomes.md), [`celestial_relief`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/celestial_relief.md), [`limit_noise`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/limit_noise.md), [`bedrock_floor`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/bedrock_floor.md), [`noise_caves`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/noise_caves.md) |
| Surface rules in `material_rule` | Conditions [`surface_depth`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/surface_depth.md), [`floor_above`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/floor_above.md), [`chance`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/chance.md); rule [`substitute`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/substitute.md) |
| Carvers in `worldgen/carver/` | [`cave`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/cave.md), [`experimental_cave`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/experimental_cave.md), [`ravine`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/ravine.md), [`roots`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/roots.md) |
| Structure types | [`volcano`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/volcano.md), [`tilted_spire`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/tilted_spire.md), [`electric_volcano`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/electric_volcano.md), [`martian_base`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/martian_base.md) |
| Structure placement | [`chunk_odds`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/chunk_odds.md) |
| Placement modifier | [`descend_through_air`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/descend_through_air.md) |
| Features in `worldgen/feature/` | [`water_plant`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/water_plant.md), [`water_coral`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/water_coral.md), [`rubber_plant`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/rubber_plant.md), [`eve_spike`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/eve_spike.md), [`moho_vent`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/moho_vent.md), [`voronoi_plates`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/voronoi_plates.md), [`seismic_crack`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/seismic_crack.md), [`plateau`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/plateau.md), [`basalt_spikes`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/basalt_spikes.md), [`ttree`](https://movblock.mov/ntm-next/26.3/wiki/space/world-generation/ttree.md) |

All type IDs are in the `hbmspace` namespace. Space data also uses NTM worldgen types such as `hbm:depth_deposit`, `hbm:stratum_3d`, `hbm:sellafield_crater` and `hbm:oil_bubble`, documented under [World Generation](https://movblock.mov/ntm-next/26.3/wiki/world-generation.md).

Space places NTM's spaceship structure on celestial bodies through the structure set `hbmspace:spaceship`, at a chance of 1 in 1000 chunks.

## Overrides and constraints

Space disables NTM's `hbm:ore_australium` and `hbm:ore_gneiss_lithium` placed features with a count of 0 and empties the biome list of NTM's `hbm:meteor_dungeon`; per-body meteor dungeons replace it. In a level containing Mun, Minmus or Moho bases, the Ike artifact or tomb, the Laythe vertibird or nuclear submarine, each structure set holding a crater, volcano or spire must hold only that structure.
