Map Item
The map item has some special quirks that make it interesting enough to deserve it’s own section of the Wiki.
This still requires most of its info. This is extremely barebones
Stored data
The map item color data is stored as 8-Bit Byte values.
The upper 6 Bits are used as an index into an internal color array that maps the index to a color.
| Index | Label | Color |
|---|---|---|
| 0 | Air | #00000000* |
| 1 | Grass | #7FB238 |
| 2 | Sand | #F7E9A3 |
| 3 | Cloth | #A7A7A7 |
| 4 | TNT | #FF0000 |
| 5 | Ice | #A0A0FF |
| 6 | Iron | #A7A7A7 |
| 7 | Foliage | #007C00 |
| 8 | Snow | #FFFFFF |
| 9 | Clay | #A4A8B8 |
| 10 | Dirt | #B76A2F |
| 11 | Stone | #707070 |
| 12 | Water | #4040FF |
| 13 | Wood | #685332 |
* Air is transparent
The lowest 2 Bits of this value determine the rendered shade.
| Shade | Limit | Demo (Snow) |
|---|---|---|
| 0 | 180 | #B4B4B4 |
| 1 | 220 | #DCDCDC |
| 2 | 255 | #FFFFFF |
Icons
A map can choose from one of 16 possible icon values, though only 5 are textured in this version.
| # | Icon |
|---|---|
| 0 | White arrow |
| 1 | Green arrow |
| 2 | Red arrow |
| 3 | Blue arrow |
| 4 | White Cross |
All other icons are filled with blue.