Skip to content

Structure Types

Apollo edited this page Apr 22, 2026 · 10 revisions

jigsaw

The jigsaw structure type is a more configurable version of vanilla's minecraft:jigsaw structure type.

{
  "type": "lithostitched:jigsaw",
  "biomes": "#minecraft:is_overworld",
  "step": "underground_structures",
  "spawn_overrides": {},
  "terrain_adaptation": "bury",
  "start_pool": "example:custom_dungeon/start",
  "size": {
    "type": "minecraft:uniform",
    "value": {
      "min_inclusive": 8,
      "max_inclusive": 12
    }
  },
  "start_height": {
    "absolute": 50
  },
  "start_projection": "floor",
  "max_distance_from_center": 116,
  "use_expansion_hack": false
}

It's very similar to the vanilla jigsaw structure, with the following changes:

  • start_projection: The strategy for projecting the structure start. Can be a heightmap (just like in the project_start_to_heightmap field) or ceiling/floor to instead scan for any floor/ceiling. The latter makes placing structures on cave surfaces much easier.
  • size: The max is now 128. The size can also be an int provider.
  • fixed_rotation: An optional boolean field. If set to true, the structure will not randomly rotate when placed.

Delegating

The delegating structure type allows extra features to be applied on any structure, Jigsaw or not.

{
  "type": "lithostitched:delegating",
  "delegate": {
    "type": "minecraft:jungle_temple",
    "biomes": "#minecraft:has_structure/jungle_temple",
    "step": "surface_structures",
    "spawn_overrides": {}
  },
  "spawn_condition": {
    "type": "lithostitched:sample_density",
    "density_function": "minecraft:overworld/erosion",
    "min_inclusive": 0.225,
    "max_inclusive": 0.425
  }
}
  • delegate: The delegate structure. Has to be an inlined structure.
  • spawn_condition: An optional spawn condition for the structure.
  • attributes: An optional object of environment attributes to apply when a player is in the structure.
    • This requires the client to have Lithostitched installed to work! If they don't have it installed, they won't see any different.
    • Lithostitched adds a lithostitched:structure/reset_music boolean environment attribute. If set to true in a structure, the client will fade out the music playing when entering and existing the structure bounds.

Clone this wiki locally