Minecraft wiki entry for Shulker_farming, associated text: Most farms also require teleport-proofing parts of the farm to ensure shulkers can't end up where they shouldn't. For this there are a number of blocks with some solid surfaces, but not others, which includes slabs, stairs, trapdoors, and soul sand (which is only solid on the base due to not being a full block).