read out player position, scan nearby coordinates using a loop and check blockid with getBlockTypeIdAt(x,y,z)