Minecraft:Schematic file format
More actions
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Template:Redirect Template:Disclaimer Template:Exclusive The .schematic file format was created by the community to store sections of a Minecraft 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 is "Classic" for schematics exported from Classic levels, "Pocket" for those from Minecraft: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 Minecraft: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 Minecraft: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. Provided only for materials used in the schematic.
- Template:Nbt: Indicates that name has the given ID (e.g., Template:Ph being
minecraft:stoneand the value being 1).
- Template:Nbt: Indicates that name has the given ID (e.g., Template:Ph being
- Template:Nbt: Arbitrary additional data, provided by Schematica for extensions. Optional, and is provided only 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., Template:Ph is 1 and the value is
minecraft:stone)
- Template:Nbt: The textual ID for the given number (e.g., Template:Ph is 1 and the value is
- Template:Nbt: MCEdit2-only; maps numeric item IDs to textual IDs. Provided only if itemStackVersion is 17.
- Template:Nbt: The textual ID for the given number (e.g., Template:Ph is 1 and the value is
minecraft:stone)
- Template:Nbt: The textual ID for the given number (e.g., Template:Ph is 1 and the value is
- Template:Nbt: MCEdit-Unified only; list of queued block updates (as in the chunk format)
- Template:Nbt: A single queued block update.
- Template:Nbt: MCEdit-Unified only; a byte array containing all biomes in the schematic.
Implementations
Template:Navbox Java Edition technical
Minecraft:fr:Format de fichier .schematic Minecraft:nl:Schematisch bestandsformaat Minecraft:zh:Schematic文件格式