Minecraft wiki entry for Debug_mode, associated text: Any block whose interactions do not change its block state can still be used (including chests, beds, cake, etc.). Although a block's state cannot change, its block entity data can change, either through normal player interaction or with the use of the /data command.