Minecraft wiki entry for Advanced_redstone_circuits, associated text: We can easily implement this using 3 "punch cards" that consist of solid blocks and air. The "punch cards" or the masks are being moved by pistons with slime blocks.