At its core, a piston trap relies on state change. A sticky piston extends, moving a block (or the floor beneath a player). When powered off, it retracts. The trap’s "save data" in a gameplay sense is the —is it extended or retracted? Is the trap armed or disarmed? In a single-player world, this state is trivial. But in a multiplayer server or a complex adventure map, this binary state must persist across logouts, server restarts, and chunk unloads.
The query typically refers to a request for a completed save file or a modded version of the parody game Lovely Craft Piston Trap