Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Structure file

From SAS Gaming Wiki
Revision as of 21:00, 9 April 2026 by SyncBot (talk | contribs) (Fix template calls: add MC/ prefix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A structure file (also called structure template) is an NBT file that stores small structures of blocks and entities. Structure files are used to store some structures such as end cities, igloos, and Minecraft:fossils.

Usage

Java Edition

Structure files are stored as .nbt files in data packs in the Template:File folder.

They can be saved and loaded using the Minecraft:Structure Block. When saved from Structure Blocks they are saved into the Template:Cd subfolder in the world save folder. When no namespace is given, then the

  1. REDIRECT Template:Code

Template:Redr namespace is used.

Structure files can also be placed using the

  1. REDIRECT Template:Command

Template:Redr command. They are also used during the generation of some Minecraft:structures and of Minecraft:fossil features.

Prebuild structures

Bedrock Edition

Structure files are stored using the NBT format in the game files. In Minecraft:behavior packs, they are stored as

  1. REDIRECT Template:Code

Template:Redr files in the Template:Cd folder.

Prebuild structures

NBT structure

All the specified positions are relative to the block located toward -X, -Y, -Z.


History

Template:HistoryTable

Navigation

Concepts
General format
World
Legacy
Level format
Legacy
.minecraft
Tools
Sound
Commands

All commands

Launching
Legacy
Protocol
Server
Protocols
Legacy
Components
Tag
GameTest
World generation
Noise settings
Structures
Removed
Data packs
Tutorials
Content
World generation

Template:Article other

de:Konstruktionsvorlagen fr:Fichier de structure ja:構造物ファイルフォーマット pt:Modelo de estrutura zh:结构存储格式