Schematic file format
Click to view a list of all the stubs in this wiki! | Wait! I'm still growing!
This article is a stub. You can help the Minecraft Wiki by expanding this article. |
Click to view a list of all the stubs in this wiki! |
The contents of this page are not supported by Mojang AB, the Minecraft Wiki, or the Minecraft Forum. |
Template:Exclusive The .schematic file format was created by the community to store sections of a Minecraft world for use with third-party programs (including MCEdit, Minecraft Note Block Studio, Redstone Simulator, WorldEdit, and Schematica). Schematics are in NBT format and are loosely based on the Indev level format. Indices for the Blocks and Data arrays are ordered YZX - that is, the X coordinate varies the fastest. This is similar to block ordering for Classic, Indev, and Anvil levels. This format cannot store or distinguish air blocks that should overwrite existing blocks from those that shouldn't.
NBT Structure
Coordinates in schematics range from (0,0,0) to (Width-1, Height-1, Length-1).
- Template:Nbt: Schematic data.
- Template:Nbt: Size along the X axis.
- Template:Nbt: Size along the Y axis.
- Template:Nbt: Size along the Z axis.
- Template:Nbt: This will be "Classic" for schematics exported from Classic levels, "Pocket" for those from Pocket Edition levels, and "Alpha" for those from Alpha and newer levels.
- Template:Nbt: Block IDs defining the terrain. 8 bits per block. Sorted by height (bottom to top) then length then width -- the index of the block at X,Y,Z is (Y×length + Z)×width + X.
- Template:Nbt: Extra bits that can be used to further define terrain; optional. Two nibbles are put into each index in this array. Unlike normal chunks, even indexes go on the high nibble and odd indexes go on the low nibble.
- Template:Nbt deprecated: Old versions of Schematica used this instead of AddBlocks. Byte array where each byte contains additional data to define terrain, in order. This tag should not be written.
- Template:Nbt: Block data additionally defining parts of the terrain. Only the lower 4 bits of each byte are used. (Unlike in the chunk format, the block data in the schematic format occupies a full byte per block.)
- Template:Nbt: List of Compound tags.
- Template:Nbt A single entity in the schematic.
- See the Chunk Format -> Entity Format.
- Template:Nbt A single entity in the schematic.
- Template:Nbt: List of Compound tags.
- Template:Nbt A single tile entity in the schematic.
- Template:Nbt Used by Schematica as an item to use as an icon for the schematic. Does not include a Slot tag.
- Template:Nbt: ID mapping for the version this schematic was saved in, used by Schematica. Only provided for materials used in the schematic.
- Template:Nbt: Indicates that name has the given ID (e.g. [name] being
minecraft:stone
and the value being 1).
- Template:Nbt: Indicates that name has the given ID (e.g. [name] being
- Template:Nbt: Arbitrary additional data, provided by Schematica for extensions. Optional, and will only be provided if not empty.
- Template:Nbt: WorldEdit-only origin X coordinate; optional but if one is provided all parts should be.
- Template:Nbt: WorldEdit-only origin Y coordinate; optional but if one is provided all parts should be.
- Template:Nbt: WorldEdit-only origin Z coordinate; optional but if one is provided all parts should be.
- Template:Nbt: WorldEdit-only offset X coordinate; optional but if one is provided all parts should be.
- Template:Nbt: WorldEdit-only offset Y coordinate; optional but if one is provided all parts should be.
- Template:Nbt: WorldEdit-only offset Z coordinate; optional but if one is provided all parts should be.
- Template:Nbt: MCEdit2-only; 17 if items use numeric IDs (1.7.x) and 18 if items use text IDs (1.8.x).
- Template:Nbt: MCEdit2-only; maps numeric block IDs to textual IDs.
- Template:Nbt: The textual ID for the given number (e.g. [number] is 1 and the value is
minecraft:stone
)
- Template:Nbt: The textual ID for the given number (e.g. [number] is 1 and the value is
- Template:Nbt: MCEdit2-only; maps numeric item IDs to textual IDs. Only provided if itemStackVersion is 17.
- Template:Nbt: The textual ID for the given number (e.g. [number] is 1 and the value is
minecraft:stone
)
- Template:Nbt: The textual ID for the given number (e.g. [number] is 1 and the value is
- Template:Nbt: MCEdit-Unified only; list of queued block updates (as in the chunk format)
- Template:Nbt: MCEdit-Unified only; a byte array containing all biomes in the schematic.
Implementations
fr:Format de carte .schematic nl:Schematisch bestandsformaat zh:Schematic文件格式