Skip to content

Structure Library

GWSheridan edited this page Nov 22, 2026 · 8 revisions

Structure Library

Open the world’s library with /worldsunwritten structure. Select a template to see its title, category, author, size, required block namespaces, placement rules, and spawn markers. The top view shows the highest block in each column. Use the slice buttons to inspect individual Y levels. Gold cells mark spawn points.

Library commands require the same permission as Minecraft’s /place command. On a dedicated server, the console can run capture, import, export, editing, and placement commands. An in-game player can open the preview and travel to a marker.

In 1.1, 3D viewer opens an orbitable template view and Stage here opens guarded placement. See Creator Tools for previews, server revalidation and /worldsunwritten structure undo.

Use the in-game editor

Open Capture selection, stand at one corner, and choose Set corner 1 here. Close the dialog, move to the other corner, and reopen it to set corner 2. Use Outline selection to check the bounds, then enter a template ID and capture.

Choose a saved template to preview its top view and slices. Edit template opens controls for replacing an exact palette state, rotating or mirroring the saved blocks and markers, editing marker positions and facing, and placing the template. Use /worldsunwritten structure duplicate <id> <new-id> to keep a separate copy before editing. Palette replacements respect saved metadata and marker clearance.

Capture a build

Set both corners of a loaded build in the same dimension. Supply coordinates or stand at a corner and omit them. The second corner displays the selection edges. Run /worldsunwritten structure outline to show the edges again.

/worldsunwritten structure pos1 15 100 14
/worldsunwritten structure pos2 18 103 16
/worldsunwritten structure capture builds:workshop
/worldsunwritten structure describe builds:workshop "Houses" "Workshop"
/worldsunwritten structure preview builds:workshop

The selection includes both corners and supports up to 32 blocks per axis. You can also pass both corners to capture directly. Library IDs use Minecraft’s namespace:path form. Use duplicate to copy a template under a new ID and rename to move it to an unused ID.

Import and export

/worldsunwritten structure import examples:workshop builds:imported_workshop
/worldsunwritten structure export builds:workshop examples:workshop_copy

The importer reads single-palette Minecraft structure files from generated/<namespace>/structure/<path>.nbt in the world or data/<namespace>/structure/<path>.nbt in an enabled datapack. It reports unknown blocks and invalid states. The archive stores a snapshot in data/worldsunwritten/structures/<namespace>/<path>.nbt within the save. Export writes a native file under generated/ and includes Worlds Unwritten’s category, author, revision, rules, and markers.

In Import template, choose Import Sponge .schem to load a Sponge version 3 file. Place it at generated/<namespace>/structure/<path>.schem in the server's world folder, then use namespace:path as the source ID without its extension. The template uses local coordinates and places its lower corner at the supplied destination. Its author and name are read from schematic metadata when available. Sponge schematic specification

/worldsunwritten structure import_schem examples:workshop builds:imported_workshop
/worldsunwritten structure replace builds:imported_workshop minecraft:oak_log[axis=x] minecraft:spruce_log[axis=x]
/worldsunwritten structure transform builds:imported_workshop cw90 left_right

Use a block-only schematic with at most 32 blocks per axis. Install mods that supply palette blocks before importing. Sponge imports reject saved entities, biome data, unsupported block entities, inventories, and invalid block states. Clear those fields before exporting the schematic. The import saves a native library entry that can be placed or exported again after the source file is removed.

Captures and imports preserve registered block states, sign text and its dye, glow, and wax settings, banner patterns, and chest or banner display names. Sign lines and display names are copied as plain text. Chests are placed empty. Entity data, inventories, loot assignments, and unsupported block-entity fields are discarded. Privileged or world-management blocks such as command blocks, jigsaws, and spawners are rejected.

Block-only exports that meet the Skyblock template limits can be imported into the island editor. Enter the local coordinates of the library marker you want to use.

Place a template

/worldsunwritten structure rules set builds:workshop supported air 80 100 minecraft:the_nether minecraft:nether_wastes
/execute in minecraft:the_nether run worldsunwritten structure place builds:workshop 64 90 -32 cw90 left_right

rules set <id> <terrain> <collision> <min-y> <max-y> [dimension] [biome] saves the rules to the template. Use any for an unrestricted dimension when specifying a biome. rules clear <id> restores the defaults.

  • free allows floating placement. supported requires a safe full block below the lowest placed block in each occupied column. buried requires the placed blocks to fit under an existing surface.
  • air requires air at every occupied destination cell. matching also accepts existing identical blocks without block entities and leaves them in place. Air spaces in a template leave the destination as it is.
  • The server validates loaded chunks, build height, biome, world border, collisions, and spawn clearance before placement.
  • Rotation options are none, cw90, cw180, and ccw90. Mirror options are none, left_right for the Z axis, and front_back for the X axis. Omit both for the saved orientation. The origin is the lower corner of the transformed bounds. Use absolute coordinates or Minecraft’s relative coordinates.

Placed blocks and supported metadata save as ordinary chunk data, independent of later template edits.

Spawn markers

/worldsunwritten structure marker set builds:workshop entry 2 1 2 north
/execute in minecraft:the_nether run worldsunwritten structure spawn builds:workshop entry 64 90 -32 cw90 left_right

A marker stores the player’s feet position and facing relative to the template. Place it inside the selection with two air cells over a safe full block. Use the same origin, rotation, and mirror for both place and spawn. The server transforms the location and facing together and checks the live blocks before teleporting the player. Use marker remove <id> <name> to remove a marker.

Combine saved templates in Assembly Studio. Modules retain captured states, rules and markers, independently of later library changes.

Clone this wiki locally