Minecraft wiki entry for X-ray_glitches, associated text: This method works by pushing a slab into the player's head. Since slabs are partial blocks, the game does not consider the player to be inside a block. This trick has two main variants: One for looking upward and one for looking downward.