Java Edition data values

Data Values are digits assigned to every object in Minecraft.



Blocks
These can also be called "Block IDs." (Bold entries are not available in Alpha and italics entries are not available in Classic)

Items
Items are prefixed by hex 0x01 instead of 0x00 in the save file.

Data
Special data for certain block types. Storage differs according to level format.

Water
0x0 is a full block. Water goes up to 0x7, Lava can only go up to 0x3. If bit 0x8 is set, this liquid is "falling" and only spreads downward.

Farmland
0x0 is dry land, 0x1 and above is wet. The wetness value depends on how far the block is away from water.

Crops
Crops grow from 0x0 to 0x7 (not pictured).



Torches
Torches use the data to determine their state.

0x0 is the basic straight torch. 0x1 to 0x4 are the torch sticking into a nearby block.

Rails

 * 0x0: flat track going north-south
 * 0x1: flat track going east-west


 * 0x2: track ascending to the south
 * 0x3: track ascending to the north
 * 0x4: track ascending to the east
 * 0x5: track ascending to the west

Make a circle from four rails:


 * 0x6: Northeast corner
 * 0x7: Southeast corner
 * 0x8: Southwest corner
 * 0x9: Northwest corner

Ladders

 * 0x2: Attached to the east side of a block
 * 0x3: West side of a block
 * 0x4: North side
 * 0x5: South side

Doors

 * 0x8: If this bit is set, this is the top half of a door.