Minecraft wiki entry for Metadata_variants, associated text: When block metadata was still in use, torches used state 5 for normal floor attachment and 1, 2, 3 and 4 for wall torches. 0, 6 and 7 appear to be unused, and are visually identical to normal torches. 0 can be obtained only via external editors, and not by setblock.