Structure placement

Helpers that build a minecraft:structure_placement 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.

ConcentricRings

ConcentricRings
ConcentricRings(salt, distance, spread, count, preferred_biomes, frequency_reduction_method?, frequency?, exclusion_zone?, locate_offset?)
salt
int 0..
distance
int 0..1023
spread
int 0..1023
count
int 1..4095
preferred_biomes
biome id | #biome tag | list of biome ids
frequency_reduction_methodoptional
FrequencyReductionMethod
frequencyoptional
number 0..1
exclusion_zoneoptional
ExclusionZone
locate_offsetoptional
list of int -16..16 (exactly 3)

DimensionOrigin

DimensionOrigin
DimensionOrigin()

RandomSpread

RandomSpread
RandomSpread(salt, spacing, separation, frequency_reduction_method?, frequency?, exclusion_zone?, locate_offset?, spread_type?)
salt
int 0..
spacing
int 0..4096

Average distance in chunks between two structures of this type.

separation
int 0..4096

Minimum distance in chunks between two structures of this type.

frequency_reduction_methodoptional
FrequencyReductionMethod
frequencyoptional
number 0..1
exclusion_zoneoptional
ExclusionZone
locate_offsetoptional
list of int -16..16 (exactly 3)
spread_typeoptional
SpreadType