I googled and found it on the old pocketmine forum, but shoghicp forgot to renew the SSL Certificate... How can I do this?
get block (playerX,playerY-1,playerZ) this only works if you want exactly -1 if you are expecting players to fly you would need more work like intreatrate from -1 to -(infinity)