defaultConfig

FabricStructureBuilder<FC, SdefaultConfig(StructureConfig config)

Sets the default StructureConfig for this structure. See the alternative defaultConfig for details.

This is a required option.

FabricStructureBuilder<FC, SdefaultConfig(int spacing, int separation, int salt)

Sets the default StructureConfig for this structure. This sets the default configuration of where inthe world to place structures.

Note: the {@code spacing} and {@code separation} options are subject to other checks for whether the structurecan spawn, such as biome. If these checks always pass and the structure can spawn in every biome, then thedescription of these values below would be exactly correct.

This is a required option. Vanilla needs it to function.

See also

#defaultConfig(StructureConfig)

#defaultConfig(StructureConfig)

Parameters

spacing

The average distance between 2 structures of this type along the X and Z axes.

separation

The minimum distance between 2 structures of this type.

salt

The random salt of the structure. This does not affect how common the structure is, but everystructure must have an unique {@code salt} in order to spawn in different places.