Map item format

From Minecraft Wiki
Jump to: navigation, search
Cleanup.svg
This article may need cleanup to improve its quality, possibly to comply with the style guide. Discuss
Please help us clean up this page if you can. The talk page may contain suggestions.
Information icon.svg
This feature is exclusive to Java Edition.

Maps do not store their information in the item - instead, their data value corresponds to the map number (ID) of a saved file. Their information is placed in the "data" directory within the world's save directory. Each map has its own file associated with its ID, and there is one file that keeps track of the highest (= most recently created) map ID.

When used in the Nether, maps render as a kind of static, making them unreadable.

Data folder structure[edit]

The file idcounts.dat contains the latest ID for current map. Each map's file name uses the format map_<#>.dat, where <#> is the map's unique number.

map_<#>.dat format[edit]

map_<#>.dat files are GZip'd NBT files.

NBT structure[edit]

  • The root tag.
    •  data: The map data.
      •  scale: How zoomed in the map is (it is in 2scale wide blocks square per pixel, even for 0, where the map will be 1:1). Default 3, minimum 0 and maximum 4.
      •  dimension: 0 = The Overworld, -1 = The Nether, 1 = The End, any other value = a static image with no player pin.
      •  trackingPosition: 1 (default) indicates that a positional arrow should be shown when the map is near its center coords. 0 indicates that the position arrow should never be shown.
      •  unlimitedTracking: 1 allows the player position indicator to show as a smaller dot on the map's edge when the player is farther than 320 * (scale+1) blocks from the map's center. 0 will make the dot instead disappear when the player is farther than this distance. Defaults to 0 for maps created from an empty map and 1 for Explorer Maps.
      •  locked: 1 if the map has been locked in a cartography table.
      •  xCenter: Center of map according to real world by X.
      •  zCenter: Center of map according to real world by Z.
      •  banners: List of banner markers added to this map. May be empty.
        • A banner marker.
          •  Color: The color of the banner. Allowed values: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black.
          •  Name: The custom name of the banner, in JSON text. May not exist.
          •  Pos: The block position of the banner in the world.
            •  X: The x-position of the banner.
            •  Y: The y-position of the banner.
            •  Z: The z-position of the banner.
      •  frames: List map markers added to this map. May be empty.
        • A marker.
          •  EntityId: Arbitrary unique value for the marker.
          •  Rotation: The rotation of the marker, ranging from 0 to 360.
          •  Pos: The block position of the marker in the world.
            •  X: The x-position of the marker.
            •  Y: The y-position of the marker.
            •  Z: The z-position of the marker.
      •  colors: Width * Height array of color values (16384 entries for a default 128×128 map). Color can be accessed via the following method: colorID = Colors[widthOffset + heightOffset * width], where (widthOffset==0, heightOffset==0) is left upper point.
    •  DataVersion: The version the map was created. If not present, defaults to 1343 (1.12.2)

When this structure is loaded, Colors array is transformed to standard dimension (if it's necessary) and then structure is saved with standard height and width.

idcounts.dat format[edit]

This file keeps track of the latest map added. It is stored as a raw (uncompressed) NBT file.

NBT structure[edit]

  • The root tag.
    •  Data
      •  map: Latest map ID.
    •  DataVersion

Color table[edit]

Maps use a color table to store the colors efficiently by ID.

Base colors[edit]

This section needs updating.
Description: 1.13 has added new block colors

Blocks are colored according to their material. Each material has a base color which is multiplied by 135, 180, 220 or 255, and then divided by 255 to make the map color. Each base color below is associated with four map colors - to get the first map color ID for a base color, multiply the base color ID by 4.

Color Table
ID Color RGB Corresponding Blocks
Non-Transparent Transparent[note 1]
0 AIR Transparent Glass, Glass Pane, Flower Pot, Ladder, Button, Lever, Redstone Repeater, Redstone Comparator, Redstone Dust, Torch, Redstone Torch, Redstone Lamp, Rail, Powered Rail, Detector Rail, Activator Rail, Tripwire, Tripwire Hook, Cake, Mob Head, Nether Portal, End Rod, Barrier, Iron Bars, Structure Void, Air, unexplored areas
1 GRASS 127, 178, 56 Grass Block Slime Block
2 SAND 247, 233, 163 Sand, Sandstone (plain, Smooth, Chiseled, Stairs, Slab), Birch Wood (vertical Log, Planks, Stairs, Slab), Mushroom Block with "pores" texture facing up, Bone Block, Glowstone, End Stone, End Stone Bricks Birch Wood (Door, Fence, Fence Gate), Scaffolding
3 CLOTH 199, 199, 199 Mushroom Stem with "stem" texture facing up, Cobweb 1.12 Onwards: Bed head
Before 1.12: Bed head and foot
4 TNT 255, 0, 0 TNT, Block of Redstone, Lava Fire
5 ICE 160, 160, 255 Ice, Frosted Ice, Packed Ice, Blue Ice
6 IRON 167, 167, 167 Block of Iron, Lantern, Grindstone Iron Door, Iron Trapdoor, Weighted Pressure Plate (Heavy), Anvil, Brewing Stand
7 FOLIAGE 0, 124, 0 Leaves Sapling, Tall Grass, Flower, Lily Pad, Wheat, Carrots, Potatoes, Beetroots, Sugar Canes, Pumpkin Stem, Melon Stem, Cactus, Vines, Cocoa, small red or brown Mushroom
8 SNOW 255, 255, 255 White Wool, Snow Block, White Shulker Box Snow Layer, White Carpet, White Stained Glass, White Stained Glass Pane
1.12 Onwards: White Bed foot, White Glazed Terracotta, White Concrete, White Concrete Powder
Before 1.12: White Stained Hardened Clay
9 CLAY 164, 168, 184 Clay, Infested Block (Stone, Cobblestone, Stone Brick, Mossy Stone Brick, Cracked Stone Brick, Chiseled Stone Brick)
10 DIRT 151, 109, 77 Jungle Wood (vertical Log, Planks, Stairs, Slab), Brown Mushroom Block with "cap" texture facing up, Dirt, Coarse Dirt, Jukebox, Granite (plain, Polished), Farmland, Grass Path Jungle Wood (Door, Fence, Fence Gate)
11 STONE 112, 112, 112 Cobblestone (block, Stairs, Slab), Stone (block, Slab), Stone Brick (plain, Cracked, Chiseled, Stairs, Slab), Moss Stone, Mossy Stone Bricks, Gravel, Andesite (plain, Polished), Ore (Coal, Iron, Gold, Redstone, Lapis Lazuli, Diamond, Emerald), Bedrock, Furnace, Dispenser, Dropper, Hopper, Observer, horizontal Acacia Log, Grindstone, Smoker, Blast Furnace, Dead Coral Block Cobblestone Wall, Mossy Cobblestone Wall, Stone Pressure Plate, Cauldron, Piston and Sticky Piston (base, Head, Extension), Ender Chest, Spawner
12 WATER 64, 64, 255 Water
13 WOOD 143, 119, 72 Oak Wood (vertical Log, Planks, Stairs, Slab), Crafting Table, Bookshelf, Note Block, Smithing Table, Lectern, Fletching Table, Cartography Table, Barrel, Loom, Composter Oak Wood (Door, Fence, Fence Gate), Dead Bush, Wooden Pressure Plate, Wooden Trapdoor, Sign, Chest, Trapped Chest, Banner, Daylight Sensor
14 QUARTZ 255, 252, 245 Horizontal Birch Log, Diorite (plain, Polished), Quartz (Block, Chiseled, Pillar, Stairs, Slab), Sea Lantern
15 ADOBE 216, 127, 51 Acacia Wood (vertical Log, Planks, Stairs, Slab), Orange Wool, Orange Shulker Box, Pumpkin, Jack o'Lantern, Red Sand, Red Sandstone (plain, Smooth, Chiseled, Stairs, Slab), Terracotta/Hardened Clay
1.12 Onwards: Orange Glazed Terracotta, Orange Concrete, Orange Concrete Powder
Before 1.12: Orange Stained Hardened Clay
Acacia Wood (Door, Fence, Fence Gate), Orange Carpet, Orange Stained Glass, Orange Stained Glass Pane
1.12 Onwards: Orange Bed foot
16 MAGENTA 178, 76, 216 Purpur (Block, Pillar, Slab), Magenta Wool, Magenta Shulker Box
1.12 Onwards: Magenta Glazed Terracotta, Magenta Concrete, Magenta Concrete Powder
Before 1.12: Magenta Stained Hardened Clay
Magenta Carpet, Magenta Stained Glass, Magenta Stained Glass Pane
1.12 Onwards: Magenta Bed foot
17 LIGHT_BLUE 102, 153, 216 Light Blue Wool, Light Blue Shulker Box
1.12 Onwards: Light Blue Glazed Terracotta, Light Blue Concrete, Light Blue Concrete Powder
Before 1.12: Light Blue Stained Hardened Clay
Light Blue Carpet, Light Blue Stained Glass, Light Blue Stained Glass Pane
1.12 Onwards: Light Blue Bed foot
18 YELLOW 229, 229, 51 Hay Bale, Sponge, Wet Sponge, Yellow Wool, Yellow Shulker Box
1.12 Onwards: Yellow Glazed Terracotta, Yellow Concrete, Yellow Concrete Powder, Horn Coral Block
Before 1.12: Yellow Stained Hardened Clay
Yellow Carpet, Yellow Stained Glass, Yellow Stained Glass Pane
1.12 Onwards: Yellow Bed foot
19 LIME 127, 204, 25 Melon, Lime Wool, Lime Shulker Box
1.12 Onwards: Lime Glazed Terracotta, Lime Concrete, Lime Concrete Powder
Before 1.12: Lime Stained Hardened Clay
Lime Carpet, Lime Stained Glass, Lime Stained Glass Pane
1.12 Onwards: Lime Bed foot
20 PINK 242, 127, 165 Pink Wool, Pink Shulker Box, Brain Coral Block
1.12 Onwards: Pink Glazed Terracotta, Pink Concrete, Pink Concrete Powder
Before 1.12: Pink Stained Hardened Clay
Pink Carpet, Pink Stained Glass, Pink Stained Glass Pane
1.12 Onwards: Pink Bed foot
21 GRAY 76, 76, 76 Gray Wool, Gray Shulker Box
1.12 Onwards: Gray Glazed Terracotta, Gray Concrete, Gray Concrete Powder
Before 1.12: Gray Stained Hardened Clay
Gray Carpet, Gray Stained Glass, Gray Stained Glass Pane
1.12 Onwards: Gray Bed foot
22 SILVER 153, 153, 153 Structure Block, Light Gray Wool, Light Gray Shulker Box
1.12 Onwards: Light Gray Glazed Terracotta, Light Gray Concrete, Light Gray Concrete Powder
Before 1.12: Light Gray Stained Hardened Clay
Light Gray Carpet, Light Gray Stained Glass, Light Gray Stained Glass Pane
1.12 Onwards: Light Gray Bed foot
23 CYAN 76, 127, 153 Prismarine, Cyan Wool, Cyan Shulker Box
1.12 Onwards: Cyan Glazed Terracotta, Cyan Concrete, Cyan Concrete Powder
Before 1.12: Cyan Stained Hardened Clay
Cyan Carpet, Cyan Stained Glass, Cyan Stained Glass Pane
1.12 Onwards: Cyan Bed foot
24 PURPLE 127, 63, 178 Repeating Command Block, Mycelium, Purple Wool, Undyed Shulker Box, Bubble Coral Block
1.12 Onwards: Purple Glazed Terracotta, Purple Concrete, Purple Concrete Powder
Before 1.12: Purple Stained Hardened Clay
Chorus Flower, Chorus Plant, Purple Carpet, Purple Stained Glass, Purple Stained Glass Pane
1.12 Onwards: Purple Bed foot
25 BLUE 51, 76, 178 Blue Wool, Blue Shulker Box, Tube Coral Block
1.12 Onwards: Blue Glazed Terracotta, Blue Concrete, Blue Concrete Powder
Before 1.12: Blue Stained Hardened Clay
Blue Carpet, Blue Stained Glass, Blue Stained Glass Pane
1.12 Onwards: Blue Bed foot
26 BROWN 102, 76, 51 Dark Oak Wood (vertical or horizontal Log, Planks, Stairs, Slab), horizontal Spruce Log, Impulse Command Block, Soul Sand, Brown Wool
1.12 Onwards: Brown Glazed Terracotta, Brown Concrete, Brown Concrete Powder, Brown Shulker Box
Before 1.12: Brown Stained Hardened Clay
Dark Oak Wood (Door, Fence, Fence Gate), Brown Carpet, Brown Stained Glass, Brown Stained Glass Pane
1.12 Onwards: Brown Bed foot
27 GREEN 102, 127, 51 Chain Command Block, Green Wool, Green Shulker Box
1.12 Onwards: Green Glazed Terracotta, Green Concrete, Green Concrete Powder
Before 1.12: Green Stained Hardened Clay, Dried Kelp Block
End Portal Frame, Green Carpet, Green Stained Glass, Green Stained Glass Pane
1.12 Onwards: Green Bed foot
28 RED 153, 51, 51 Bricks (block, Slab, Stairs), Nether Wart Block, Red Wool, Red Shulker Box
1.12 Onwards: Red Glazed Terracotta, Red Concrete, Red Concrete Powder
Before 1.12: Red Stained Hardened Clay, Red Mushroom Block with "cap" texture facing up, Fire Coral Block
Nether Wart, Enchantment Table, Red Carpet, Red Stained Glass, Red Stained Glass Pane
1.12 Onwards: Red Bed foot
29 BLACK 25, 25, 25 Block of Coal, Obsidian, Black Wool, Black Shulker Box
1.12 Onwards: Black Glazed Terracotta, Black Concrete, Black Concrete Powder
Before 1.12: Black Stained Hardened Clay
Dragon Egg, End Gateway, End Portal, Black Carpet, Black Stained Glass, Black Stained Glass Pane
1.12 Onwards: Black Bed foot
30 GOLD 250, 238, 77 Block of Gold, Bell Weighted Pressure Plate (Light)
31 DIAMOND 92, 219, 213 Block of Diamond, Prismarine Bricks, Dark Prismarine Beacon
32 LAPIS 74, 128, 255 Lapis Lazuli Block
33 EMERALD 0, 217, 58 Block of Emerald
34 OBSIDIAN 129, 86, 49 Spruce Wood (vertical Log, Planks, Stairs, Slab), horizontal Oak Log, horizontal Jungle Log, Podzol Spruce Wood (Door, Fence, Fence Gate)
35 NETHERRACK 112, 2, 0 Netherrack, Nether Bricks, Nether Brick Stairs, Red Nether Bricks, Nether Quartz Ore, Magma Block Nether Brick Fence
36 WHITE_STAINED_HARDENED_CLAY 209, 177, 161 1.12 Onwards: White Terracotta
37 ORANGE_STAINED_HARDENED_CLAY 159, 82, 36 1.12 Onwards: Orange Terracotta
38 MAGENTA_STAINED_HARDENED_CLAY 149, 87, 108 1.12 Onwards: Magenta Terracotta
39 LIGHT_BLUE_STAINED_HARDENED_CLAY 112, 108, 138 1.12 Onwards: Light Blue Terracotta
40 YELLOW_STAINED_HARDENED_CLAY 186, 133, 36 1.12 Onwards: Yellow Terracotta
41 LIME_STAINED_HARDENED_CLAY 103, 117, 53 1.12 Onwards: Lime Terracotta
42 PINK_STAINED_HARDENED_CLAY 160, 77, 78 1.12 Onwards: Pink Terracotta
43 GRAY_STAINED_HARDENED_CLAY 57, 41, 35 1.12 Onwards: Gray Terracotta
44 SILVER_STAINED_HARDENED_CLAY 135, 107, 98 1.12 Onwards: Light Gray Terracotta
45 CYAN_STAINED_HARDENED_CLAY 87, 92, 92 1.12 Onwards: Cyan Terracotta
46 PURPLE_STAINED_HARDENED_CLAY 122, 73, 88 Purple Shulker Box1.12 Onwards: Purple Terracotta
47 BLUE_STAINED_HARDENED_CLAY 76, 62, 92 1.12 Onwards: Blue Terracotta
48 BROWN_STAINED_HARDENED_CLAY 76, 50, 35 1.12 Onwards: Brown Terracotta
49 GREEN_STAINED_HARDENED_CLAY 76, 82, 42 1.12 Onwards: Green Terracotta
50 RED_STAINED_HARDENED_CLAY 142, 60, 46 1.12 Onwards: Red Terracotta
51 BLACK_STAINED_HARDENED_CLAY 37, 22, 16 1.12 Onwards: Black Terracotta
  1. These blocks only appear on the map as the listed color when a non-transparent block is directly underneath; otherwise, they appear as transparent. For the purposes of this table, "transparent" means with a light-opacity of 0, which excludes partially opaque blocks like cobwebs.

Map colors[edit]

Each base color above has 4 associated map colors below. The conversion works by multiplying each of the red, green, and blue values by a value and then dividing by 255, finally rounding down to a whole number. As of 13w42b, the fourth base color variant is now multiplied by 135, providing a darker set of colors rather than just a clone of the second base color variant.

Map Color ID Multiply R,G,B By
Base Color ID×4 + 0 180
Base Color ID×4 + 1 220
Base Color ID×4 + 2 255 (same color)
Base Color ID×4 + 3 135

Map Pixel Art[edit]

Redstonehelper uses the staircase method in survival

People have used the map to create pixel art. The default map has an image size of 128×128 and will read each block as a specific color. By placing blocks in a specific arrangement, it is possible to create pixel art images.

Two methods exist for creating map pixel art: flat and staircase. The flat method involves laying the pixel image across a flat surface, effectively creating a floor. The flat method is the easier of the two methods, but offers a smaller palette of only 51 colors. The staircase method offers 153 colors, but is much more complicated to use. In the staircase method, blocks are placed at different elevations to obtain specific color variations. A block’s color will be darker if placed at a lower elevation than the block north of it, or brighter if placed at a higher elevation than the block north of it.

With the flat method, the 2nd shade of each color group on the lists below can be used. For the staircase method, the first 3 shades of the color groups below can be used. The 4th shade can only be obtained with the use of an external tool.

1.13 - Color Table[edit]

Here is my google sheet if someone wants to clean this up and add the colors.

https://docs.google.com/spreadsheets/d/1AeX2jQ4ZUGhxSBEKh_kLrIQmYJcrfqwZSSL1kUJKveY/edit?usp=sharing

These should be the color values that maps can display up to 1.14.2, but i would like someone to confirm or help me get all ID's.

A better sorted palette than the previous attempt.

Color Table : RGB & HEX for 153 Colors (RGB & HEX 3 are only available with scripts)

ID Base Name 2 1 0 RGB-2 HEX-2 RGB-1 HEX-1 RGB-0 HEX-0 RGB-3 HEX-3
1 Grass 127, 178, 56 7FB238 109, 153, 48 6D9930 89, 125, 39 597D27 67, 94, 29 435E1D
2 Sand 247, 233, 163 F7E9A3 213, 201, 140 D5C98C 174, 164, 115 AEA473 130, 123, 86 827B56
3 Cloth 199, 199, 199 C7C7C7 171, 171, 171 ABABAB 140, 140, 140 8C8C8C 105, 105, 105 696969
4 Tnt 255, 0, 0 FF0000 220, 0, 0 DC0000 180, 0, 0 B40000 135, 0, 0 870000
5 Ice 160, 160, 255 A0A0FF 138, 138, 220 8A8ADC 112, 112, 180 7070B4 84, 84, 135 545487
6 Iron 167, 167, 167 A7A7A7 144, 144, 144 909090 117, 117, 117 757575 88, 88, 88 585858
7 Foliage 0, 124, 0 007C00 0, 106, 0 006A00 0, 87, 0 005700 0, 65, 0 004100
8 Snow 255, 255, 255 FFFFFF 220, 220, 220 DCDCDC 180, 180, 180 B4B4B4 135, 135, 135 878787
9 Clay 164, 168, 184 A4A8B8 141, 144, 158 8D909E 115, 118, 129 737681 86, 88, 97 565861
10 Dirt 151, 109, 77 976D4D 130, 94, 66 825E42 106, 76, 54 6A4C36 79, 57, 40 4F3928
11 Stone 112, 112, 112 707070 96, 96, 96 606060 79, 79, 79 4F4F4F 59, 59, 59 3B3B3B
12 Water 64, 64, 255 4040FF 55, 55, 220 3737DC 45, 45, 180 2D2DB4 33, 33, 135 212187
13 Wood 143, 119, 72 8F7748 123, 102, 62 7B663E 100, 84, 50 645432 75, 63, 38 4B3F26
14 Quartz 255, 252, 245 FFFCF5 220, 217, 211 DCD9D3 180, 177, 172 B4B1AC 135, 133, 129 878581
15 Adobe 216, 127, 51 D87F33 186, 109, 44 BA6D2C 152, 89, 36 985924 114, 67, 27 72431B
16 Magenta 178, 76, 216 B24CD8 153, 65, 186 9941BA 125, 53, 152 7D3598 94, 40, 114 5E2872
17 Light_Blue 102, 153, 216 6699D8 88, 132, 186 5884BA 72, 108, 152 486C98 54, 81, 114 365172
18 Yellow 229, 229, 51 E5E533 197, 197, 44 C5C52C 161, 161, 36 A1A124 121, 121, 27 79791B
19 Lime 127, 204, 25 7FCC19 109, 176, 21 6DB015 89, 144, 17 599011 67, 108, 13 436C0D
20 Pink 242, 127, 165 F27FA5 208, 109, 142 D06D8E 170, 89, 116 AA5974 128, 67, 87 804357
21 Gray 76, 76, 76 4C4C4C 65, 65, 65 414141 53, 53, 53 353535 40, 40, 40 282828
22 Silver 153, 153, 153 999999 132, 132, 132 848484 108, 108, 108 6C6C6C 81, 81, 81 515151
23 Cyan 76, 127, 153 4C7F99 65, 109, 132 416D84 53, 89, 108 35596C 40, 67, 81 284351
24 Purple 127, 63, 178 7F3FB2 109, 54, 153 6D3699 89, 44, 125 592C7D 67, 33, 94 43215E
25 Blue 51, 76, 178 334CB2 44, 65, 153 2C4199 36, 53, 125 24357D 27, 40, 94 1B285E
26 Brown 102, 76, 51 664C33 88, 65, 44 58412C 72, 53, 36 483524 54, 40, 27 36281B
27 Green 102, 127, 51 667F33 88, 109, 44 586D2C 72, 89, 36 485924 54, 67, 27 36431B
28 Red 153, 51, 51 993333 132, 44, 44 842C2C 108, 36, 36 6C2424 81, 27, 27 511B1B
29 Black 25, 25, 25 191919 21, 21, 21 151515 17, 17, 17 111111 13, 13, 13 0D0D0D
30 Gold 250, 238, 77 FAEE4D 215, 205, 66 D7CD42 176, 168, 54 B0A836 132, 126, 40 847E28
31 Diamond 92, 219, 213 5CDBD5 79, 188, 183 4FBCB7 64, 154, 150 409A96 48, 115, 112 307370
32 Lapis 74, 128, 255 4A80FF 63, 110, 220 3F6EDC 52, 90, 180 345AB4 39, 67, 135 274387
33 Emerald 0, 217, 58 00D93A 0, 187, 50 00BB32 0, 153, 40 009928 0, 114, 30 00721E
34 Obsidian 129, 86, 49 815631 111, 74, 42 6F4A2A 91, 60, 34 5B3C22 68, 45, 25 442D19
35 Netherrack 112, 2, 0 700200 96, 1, 0 600100 79, 1, 0 4F0100 59, 1, 0 3B0100
36 White_Terracotta 209, 177, 161 D1B1A1 180, 152, 138 B4988A 147, 124, 113 937C71 110, 93, 85 6E5D55
37 Orange_Terracotta 159, 82, 36 9F5224 137, 70, 31 89461F 112, 57, 25 703919 84, 43, 19 542B13
38 Magenta_Terracotta 149, 87, 108 95576C 128, 75, 93 804B5D 105, 61, 76 693D4C 78, 46, 57 4E2E39
39 Light_Blue_Terracotta 112, 108, 138 706C8A 96, 93, 119 605D77 79, 76, 97 4F4C61 59, 57, 73 3B3949
40 Yellow_Terracotta 186, 133, 36 BA8524 160, 114, 31 A0721F 131, 93, 25 835D19 98, 70, 19 624613
41 Lime_Terracotta 103, 117, 53 677535 88, 100, 45 58642D 72, 82, 37 485225 54, 61, 28 363D1C
42 Pink_Terracotta 160, 77, 78 A04D4E 138, 66, 67 8A4243 112, 54, 55 703637 84, 40, 41 542829
43 Gray_Terracotta 57, 41, 35 392923 49, 35, 30 31231E 40, 28, 24 281C18 30, 21, 18 1E1512
44 Silver_Terracotta 135, 107, 98 876B62 116, 92, 84 745C54 95, 75, 69 5F4B45 71, 56, 51 473833
45 Cyan_Terracotta 87, 92, 92 575C5C 75, 79, 79 4B4F4F 61, 64, 64 3D4040 46, 48, 48 2E3030
46 Purple_Terracotta 122, 73, 88 7A4958 105, 62, 75 693E4B 86, 51, 62 56333E 64, 38, 46 40262E
47 Blue_Terracotta 76, 62, 92 4C3E5C 65, 53, 79 41354F 53, 43, 64 352B40 40, 32, 48 282030
48 Brown_Terracotta 76, 50, 35 4C3223 65, 43, 30 412B1E 53, 35, 24 352318 40, 26, 18 281A12
49 Green_Terracotta 76, 82, 42 4C522A 65, 70, 36 414624 53, 57, 29 35391D 40, 43, 22 282B16
50 Red_Terracotta 142, 60, 46 8E3C2E 122, 51, 39 7A3327 100, 42, 32 642A20 75, 31, 24 4B1F18
51 Black_Terracotta 37, 22, 16 251610 31, 18, 13 1F120D 26, 15, 11 1A0F0B 19, 11, 8 130B08

Lasertechnate (talk) 09:56, 22 October 2019 (UTC)

1.12 Color Table[edit]

1.8.1 Color Table[edit]

Note: The description may not list every possible block. Example: In 1.8.1, any block that uses colored wool can also use colored carpet or colored pane glass.

1.7.2 Color Table[edit]

Original Color Table[edit]

Code examples[edit]

This section is a stub, meaning that it lacks some important information. You can help by expanding it with further information relating to the topic.
Library name Language Link to Map-related code
MCModify Java Map.java
minecraftmap Python __init__.py
mcmapimg Python mcmapimg.py

History[edit]

This section needs updating.
Description: Incomplete history, maybe
Java Edition Beta
?When Notch was adding maps for the first time he did not use the NBT format.[1]
1.6?Added maps.
Map IDs are is limited to the size of a short (32,768).[2]
Java Edition
1.1317w47aMaps ids are no longer shorts, but rather ints, as they are no longer based on damage values of the item.
idcounts.dat now uses an int instead of a short.
18w19aAdded DataVersion to saved map_<#>.dat. (idcounts.dat still doesn't have a DataVersion)
1.1419w02aAdded locked to saved map_<#>.dat.

References[edit]