Generated structures data file format

The Village.dat, Fortress.dat, Temple.dat, Mineshaft.dat, Stronghold.dat, Monument.dat, EndCity.dat, and Mansion.dat files are located in the data folder of a Minecraft level and store information about the generation of villages, Nether fortresses, desert and jungle temples and witch huts and Igloos, abandoned mineshafts, strongholds, ocean monuments, end cities, and woodland mansions respectively, in the level. The structure data is stored in the chunk data.

NBT structure
As of Java Edition 1.12.

Note that many of the tags listed for the structure pieces apply only to specific piece types.


 * : The root tag.
 * : List of features.
 * : A structure. Tag name contains the chunk coordinates of the structure's starting point.
 * : Identifier for the structure type. Typically matches the file name.
 * : Chunk X coordinate of the start of the structure.
 * : Chunk Z coordinate of the start of the structure.
 * : Bounding box of the entire structure. Value is 6 ints: the minimum X, Y, and Z coordinates followed by the maximum X, Y, and Z coordinates.
 * : (Village only) Whether the village generated at least 3 non-roads. If 0, the village isn't actually generated.
 * : (Monument only) List of chunks that have had their piece of the structure created.
 * : Chunk X coordinate
 * : Chunk Z coordinate
 * : List of structure pieces making up this structure.
 * : Structure piece data.
 * : Identifier for the structure piece. Typically a heavily abbreviated code rather than something human-readable.
 * : Appears to be some sort of measure of how far this piece is from the start.
 * : Likely orientation of the structure piece.
 * : Bounding box of the structure piece. (Does not include the part of a village roof that can overhang the road.) Value is 6 ints: the minimum X, Y, and Z coordinates followed by the maximum X, Y, and Z coordinates.
 * : (Temples and huts) Width of the structure (X/Z).
 * : (Temples and huts) Height of the structure (Y).
 * : (Temples and huts) Depth of the structure (X/Z).
 * : (Temples and huts) Y level the structure was moved to in order to place it on the surface, or -1 if it hasn't been moved yet.
 * : (Jungle temple) Whether the hallway arrow trap dispenser was placed.
 * : (Jungle temple) Whether the chest arrow trap dispenser was placed.
 * : (Jungle temple) Whether the main chest was placed.
 * : (Jungle temple) Whether the hidden chest was placed.
 * : (Desert temple) Whether chest was placed.
 * : (Desert temple) Whether chest was placed.
 * : (Desert temple) Whether chest was placed.
 * : (Desert temple) Whether chest was placed.
 * : (Witch hut) Whether the initial witch has been spawned for the hut.
 * : (Mineshaft "MSCorridor") Whether the corridor has rails.
 * : (Mineshaft "MSCorridor") Whether the corridor has cobwebs.
 * : (Mineshaft "MSCorridor") Whether the corridor has a cave spider spawner.
 * : (Mineshaft "MSCorridor") Corridor length.
 * : (Mineshaft "MSCrossing") Whether the crossing is two floors tall.
 * : (Mineshaft "MSCrossing") Indicates the "incoming" direction for the crossing.
 * : (Mineshaft "MSRoom") List of exits from the room.
 * : Bounding box of the exit.
 * : (Fortress "NeSCLT" and "NeSCRT") Whether this fortress piece should contain a chest but hasn't had one generated yet.
 * : (Fortress "NeMT") Whether this fortress piece should contain a Blaze spawner but hasn't had one generated yet.
 * : (Fortress "NeBEF") Random seed for the broken-bridge fortress piece.
 * : (Stronghold) The type of door at the entry to this piece.
 * : (Stronghold "SHCC") Whether this chest in this stronghold piece was placed.
 * : (Stronghold "SHFC") Length of the corridor
 * : (Stronghold "SH5C") Whether the 5-way crossing has an exit on the lower level on the side with the upward staircase.
 * : (Stronghold "SH5C") Whether the 5-way crossing has an exit on the lower level on the side with the downward staircase.
 * : (Stronghold "SH5C") Whether the 5-way crossing has an exit on the upper level on the side with the upward staircase.
 * : (Stronghold "SH5C") Whether the 5-way crossing has an exit on the upper level on the side with the downward staircase.
 * : (Stronghold "SHLi") Whether the library has an upper level.
 * : (Stronghold "SHPR") Whether the Silverfish spawner has been placed in this piece.
 * : (Stronghold "SHRC") Indicates whether the room contains a pillar with torches, a fountain, an upper level with a chest, or is just empty room.
 * : (Stronghold "SHSD") Whether the spiral staircase is the source of the Stronghold or was randomly generated.
 * : (Stronghold "SHS") Whether the corridor has an opening on the left.
 * : (Stronghold "SHS") Whether the corridor has an opening on the right.
 * : (Village) Village type: 0=plains, 1=desert, 2=savanna, 3=taiga.
 * : (Village) Whether this village generated as a zombie village.
 * : (Village) Count of villagers spawned along with this piece.
 * : (Village) Y level the piece was moved to in order to place it on the surface, or -1 if it hasn't been moved yet.
 * : (Village "ViS") Whether the blacksmith chest has been generated.
 * : (Village "ViF" and "ViDF") Crop in the farm plot, as a block ID (59=wheat, 141=carrots, 142=potatoes)
 * : (Village "ViF" and "ViDF") Crop in the farm plot.
 * : (Village "ViDF") Crop in the farm plot.
 * : (Village "ViDF") Crop in the farm plot.
 * : (Village "ViSH") Whether the house has a ladder to the roof and fencing.
 * : (Village "ViSmH") Table: 0 is no table, 1 and 2 place it on either side of the hut.
 * : (Village "ViSmH") Hut roof type.
 * : (Village "ViSR") Length of the road piece.
 * : (Village "ViSmH") Hut roof type.
 * : (Village "ViSR") Length of the road piece.

结构生成数据文件格式 Формат файлов натуральных структур