movblock.mov

hbm:legacy_piece

Terrain alignment and height offset for a child jigsaw piece.

A vanilla single-template pool element with placement fields read by hbm:legacy_jigsaw. With align_to_terrain: true, the structure grounds this piece on its own rotated footprint. Otherwise, the piece moves with the first unaligned piece. Other structure types place it as a vanilla single-template element.

Fields

FieldMeaning and defaultRange
element_typehbm:legacy_piece.
locationStructure-template ID.
processorsVanilla processor-list ID or inline processor list.
projectionVanilla jigsaw projection: rigid or terrain_matching.
override_liquid_settings​OptionalOptional vanilla liquid-setting override.
height_offset​OptionalY offset added to the footprint's average terrain height; default 0.\texttt{i32}
align_to_terrain​OptionalGrounds this piece independently when placed by hbm:legacy_jigsaw; default false.

Example:

An element in data/example/worldgen/template_pool/ruins/rooms.json:

{
  "element_type": "hbm:legacy_piece",
  "location": "example:ruins/room",
  "processors": "hbm:no_rules",
  "projection": "rigid",
  "height_offset": -1,
  "align_to_terrain": true
}

© 2026 movblock. Original site text is licensed under CC BY-SA 4.0 unless otherwise noted. Built with Fumadocs.

On this page