Schematic file format

The .schematic file format was created by the community to store sections of a Minecraft world for use with third-party programs (specifically, MCEdit, Minecraft Note Block Studio, Redstone Simulator, and WorldEdit). 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.

NBT Structure

 * TAG_Compound("Schematic"): Schematic data.
 * TAG_Short("Width"): Size along the X axis.
 * TAG_Short("Height"): Size along the Y axis.
 * TAG_Short("Length"): Size along the Z axis.
 * TAG_String("Materials"): This will be "Classic" for schematics exported from Minecraft Classic levels, and "Alpha" for those from Minecraft Alpha, Minecraft Beta and Minecraft 1.0 levels.
 * TAG_Byte_Array("Blocks"): Block IDs defining the terrain. 8 bits per block.
 * TAG_Byte_Array("Data"): Block data additionally defining parts of the terrain. Only the lower 4 bits of each byte are used.
 * TAG_List("Entities"): List of Compound tags.
 * TAG_Compound: A single entity in the schematic.
 * See the Chunk Format -> Entity Format.
 * TAG_List("TileEntities"): List of Compound tags.
 * TAG_Compound: A single tile entity in the schematic.
 * See Chunk Format -> Tile Entity Format.

Format de carte .schematic