Block Detector

The Block Detector outputs a redstone signal whenever a block is on top of it. If it is a solid block, it outputs a redstone signal of 15. But when the block is transparent, it outputs a signal of 5. Outputs signal on all sides except top side.