Structure config

Helpers that build a minecraft:structure_config object, one for each of its types. Where a field takes one, write the helper's call; its name is the type it makes. Click a type to see what it accepts.

BastionRemnant

BastionRemnant
BastionRemnant(biomes, step, spawn_overrides, start_pool, size, start_height, max_distance_from_center, use_expansion_hack, terrain_adaptation?, start_jigsaw_name?, project_start_to_heightmap?, pool_aliases?, dimension_padding?, liquid_settings?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
start_pool
template_pool id
size
int 1..20
start_height
HeightProvider
max_distance_from_center
any (depends on terrain_adaptation)
use_expansion_hack
bool
terrain_adaptationoptional
TerrainAdaptation
start_jigsaw_nameoptional
id
project_start_to_heightmapoptional
HeightmapType
pool_aliasesoptional
list of PoolAlias
dimension_paddingoptional
int 0.. | { bottom?: int 0.., top?: int 0.. }
liquid_settingsoptional
LiquidSettings

BuriedTreasure

BuriedTreasure
BuriedTreasure(biomes, step, spawn_overrides, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
terrain_adaptationoptional
TerrainAdaptation

DesertPyramid

DesertPyramid
DesertPyramid(biomes, step, spawn_overrides, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
terrain_adaptationoptional
TerrainAdaptation

EndCity

EndCity
EndCity(biomes, step, spawn_overrides, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
terrain_adaptationoptional
TerrainAdaptation

Fortress

Fortress
Fortress(biomes, step, spawn_overrides, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
terrain_adaptationoptional
TerrainAdaptation

Igloo

Igloo
Igloo(biomes, step, spawn_overrides, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
terrain_adaptationoptional
TerrainAdaptation

Jigsaw

Jigsaw
Jigsaw(biomes, step, spawn_overrides, start_pool, size, start_height, max_distance_from_center, use_expansion_hack, terrain_adaptation?, start_jigsaw_name?, project_start_to_heightmap?, pool_aliases?, dimension_padding?, liquid_settings?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
start_pool
template_pool id
size
int 1..20
start_height
HeightProvider
max_distance_from_center
any (depends on terrain_adaptation)
use_expansion_hack
bool
terrain_adaptationoptional
TerrainAdaptation
start_jigsaw_nameoptional
id
project_start_to_heightmapoptional
HeightmapType
pool_aliasesoptional
list of PoolAlias
dimension_paddingoptional
int 0.. | { bottom?: int 0.., top?: int 0.. }
liquid_settingsoptional
LiquidSettings

JungleTemple

JungleTemple
JungleTemple(biomes, step, spawn_overrides, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
terrain_adaptationoptional
TerrainAdaptation

Mineshaft

Mineshaft
Mineshaft(biomes, step, spawn_overrides, mineshaft_type, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
mineshaft_type
MineshaftType
terrain_adaptationoptional
TerrainAdaptation

NetherFossil

NetherFossil
NetherFossil(biomes, step, spawn_overrides, height, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
height
HeightProvider
terrain_adaptationoptional
TerrainAdaptation

OceanMonument

OceanMonument
OceanMonument(biomes, step, spawn_overrides, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
terrain_adaptationoptional
TerrainAdaptation

OceanRuin

OceanRuin
OceanRuin(biomes, step, spawn_overrides, biome_temp, large_probability, cluster_probability, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
biome_temp
BiomeTemperature
large_probability
number 0..1
cluster_probability
number 0..1
terrain_adaptationoptional
TerrainAdaptation

PillagerOutpost

PillagerOutpost
PillagerOutpost(biomes, step, spawn_overrides, start_pool, size, start_height, max_distance_from_center, use_expansion_hack, terrain_adaptation?, start_jigsaw_name?, project_start_to_heightmap?, pool_aliases?, dimension_padding?, liquid_settings?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
start_pool
template_pool id
size
int 1..20
start_height
HeightProvider
max_distance_from_center
any (depends on terrain_adaptation)
use_expansion_hack
bool
terrain_adaptationoptional
TerrainAdaptation
start_jigsaw_nameoptional
id
project_start_to_heightmapoptional
HeightmapType
pool_aliasesoptional
list of PoolAlias
dimension_paddingoptional
int 0.. | { bottom?: int 0.., top?: int 0.. }
liquid_settingsoptional
LiquidSettings

RuinedPortal

RuinedPortal
RuinedPortal(biomes, step, spawn_overrides, setups, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
setups
list of RuinedPortalSetup
terrain_adaptationoptional
TerrainAdaptation

Shipwreck

Shipwreck
Shipwreck(biomes, step, spawn_overrides, terrain_adaptation?, is_beached?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
terrain_adaptationoptional
TerrainAdaptation
is_beachedoptional
bool

Stronghold

Stronghold
Stronghold(biomes, step, spawn_overrides, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
terrain_adaptationoptional
TerrainAdaptation

SwampHut

SwampHut
SwampHut(biomes, step, spawn_overrides, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
terrain_adaptationoptional
TerrainAdaptation

Village

Village
Village(biomes, step, spawn_overrides, start_pool, size, start_height, max_distance_from_center, use_expansion_hack, terrain_adaptation?, start_jigsaw_name?, project_start_to_heightmap?, pool_aliases?, dimension_padding?, liquid_settings?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
start_pool
template_pool id
size
int 1..20
start_height
HeightProvider
max_distance_from_center
any (depends on terrain_adaptation)
use_expansion_hack
bool
terrain_adaptationoptional
TerrainAdaptation
start_jigsaw_nameoptional
id
project_start_to_heightmapoptional
HeightmapType
pool_aliasesoptional
list of PoolAlias
dimension_paddingoptional
int 0.. | { bottom?: int 0.., top?: int 0.. }
liquid_settingsoptional
LiquidSettings

WoodlandMansion

WoodlandMansion
WoodlandMansion(biomes, step, spawn_overrides, terrain_adaptation?)
biomes
biome id | #biome tag | list of biome ids
step
DecorationStep

The step when the structure generates.

spawn_overrides
map of MobCategory to SpawnOverride
terrain_adaptationoptional
TerrainAdaptation