Minecraft wiki entry for Rube_Goldberg_machine, associated text: This works because cactus cannot be directly next to a solid block, and breaks itself if a block ends up next to it. The sand is supported by a torch, which is supported by more sand on top of that cactus. When the cactus breaks, the sand is no longer supported and falls next to another cactus.