Structure Types - Apollounknowndev/lithostitched GitHub Wiki
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 theproject_start_to_heightmapfield) orceiling/floorto instead scan for any floor/ceiling. The latter makes placing structures on cave surfaces much easier.size: The max is now128. The size can also be an int provider.fixed_rotation: An optional boolean field. If set totrue, 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_musicboolean environment attribute. If set totruein a structure, the client will fade out the music playing when entering and existing the structure bounds.