Minecraft wiki entry for Custom_Blocks, associated text: As well as a block id all blocks have a data value. For simple blocks (like cobblestone) this is ignored. For others (like beds) it stores the direction or other extra data.