Minecraft – problem with two-level piston

minecraft-java-editionminecraft-redstone

I'm trying to make a two level piston (i.e. when it is powered on it pushes blocks up two levels rather than just one). The way that I am doing it is placing a row of pistons on top of a row of sticky pistons. I've placed a power line to both rows of pistons, and connected it to a switch. My intention is that when the switch is fired on, both rows of pistons get activated. When powered off, they both fall down two their base elevation (they both lose power, so they both retract, and the sticky pistons on the bottom pull the pistons on top down with them).

The problem I'm having is this: for some reason the sticky pistons aren't pulling down the pistons on top. The pistons on top just levitate in the air above the sticky pistons. Does anyone know why this is happening (possibly a glitch)?

Best Answer

Sticky pistons can't move certain blocks, such as extended pistons. I'm guessing your second level of pistons aren't retracting early enough and are therefore not completing their retraction before the sticky pistons try to pull them.

The likely solution is that you need to add a delay to your circuitry which allows the upper pistons to retract first, then the lower pistons a couple ticks afterward. The problem with this is that you need them to extend in the opposite way, with the lower pistons extending first and the upper pistons extending afterward. You may have to use an ABBA switch to create this activation/deactivation pattern for you (extend bottom, extend top, retract top, retract bottom).