Structure blocks. Save and load .nbt.

Save a build to a .nbt file with a Java structure block, load it elsewhere with rotation and mirror, place it with /place template, and add a downloaded .nbt file to your world.

01 · Start here

Before you begin

  1. Turn on cheats in the world.
  2. Get a structure block and set it to Save.
  3. Name the build, set its size and save it.
  4. Load it with another structure block or /place template.
Edition

Java

File

.nbt

Size limit

48 × 48 × 48 per block

02 · Step

Get a structure block

With cheats on, give yourself a structure block and place it next to the build. It only works in creative.

/give @s minecraft:structure_block
Give yourself a structure block.
03 · Step

Know the four modes

Know the four modes
ModeWhat it does
SaveSaves the area inside the outline to a .nbt file.
LoadPlaces a saved structure, with rotation, mirror and integrity.
CornerMarks the far corner so Save can detect the size (Detect button).
DataMarks a spot for data packs that generate structures.
04 · Step

Save a build

Set the block to Save mode and type a name such as house. Set the relative position and the size so the white outline covers the whole build, or put a Corner structure block with the same name at the far corner and press Detect. Turn on Include entities to keep item frames and armor stands. Press Save.

Java writes the file into your world folder under generated/minecraft/structures/house.nbt. One structure block saves up to 48 blocks on each side; save bigger builds in parts with matching names, such as house_1 and house_2.

05 · Step

Load it somewhere else

Place another structure block, set it to Load mode and type the same name. Press Load to see the outline, set rotation and mirror, then press Load again to place it. Integrity below 100 leaves random blocks out, which is useful for ruins.

The /place command does the same from chat.

/place template minecraft:house ~ ~ ~
Place the saved structure at your position.
/place template minecraft:house ~ ~ ~ clockwise_90
Place it turned 90 degrees clockwise.
06 · Step

Use a downloaded .nbt

Copy the file into your world folder under generated/minecraft/structures/ (create the folders if needed) and load it by its file name. A file in generated/mybuilds/structures/tower.nbt loads as mybuilds:tower.

In a data pack, structure files go in data/<namespace>/structure/. You can also open a .nbt in the 3D viewer, check it and convert it to .schem for WorldEdit.

07 · Step

Tips

  • Structure void blocks inside a saved area keep whatever blocks are already there when you load it.
  • Show invisible blocks in Save mode reveals air and structure voids.
  • A structure saved by a redstone signal stays in memory only; press Save to write the file.
  • Very large builds are easier with WorldEdit or Litematica, which have no 48-block limit.
08 · Help

Questions and answers

Where does Minecraft save structure block files?

In the world folder, under generated/<namespace>/structures/. Without a namespace in the name, it is minecraft.

How big can a Java structure block save?

48 blocks on each side. Save larger builds in several parts, or use WorldEdit.

How do I load a structure with a command?

Use /place template followed by the name and a position, for example /place template minecraft:house ~ ~ ~.

Can I load a .nbt on a server?

Yes, if you can place structure blocks or use /place, and the file is in that world’s generated folder or in a data pack.

Are entities saved?

Only if Include entities is on when you save.

09 · Help

Sources and next steps

Checked against the official documentation on 2026-12-02. Defaults can change between versions, so the in-game help is always authoritative. This is an independent guide, not affiliated with Mojang or Microsoft.