The order of the redstone wire block update doesn't always work.
I was testing the redstone wires changes with 2 pistons and discovered that if you spam-click a lever closer to the first piston it sometimes powers the further piston instead.
What I expected to happen was...:
The piston closer to the lever always powered first
What actually happened was...:
The piston further to the lever sometimes powers first
Steps to Reproduce:
1. Place down 2 piston like I did in the attachment
2. Connect both with a redstone wire
3. Place a lever closer to one of the 2 pistons
4. Spam click the lever
Environment
Windows 11 - Java 21.0.3
Linked Issues
Created Issue:
The order of the redstone wire block update doesn't always work.
I was testing the redstone wires changes with 2 pistons and discovered that if you spam-click a lever closer to the first piston it sometimes powers the further piston instead.
What I expected to happen was...:
The piston closer to the lever always powered firstWhat actually happened was...:
The piston further to the lever sometimes powers firstSteps to Reproduce:
1. Place down 2 piston like I did in the attachment2. Connect both with a redstone wire
3. Place a lever closer to one of the 2 pistons
4. Spam click the lever
Environment
Windows 11 - Java 21.0.3
is duplicated by
is duplicated by
duplicates
This happens when you press the button again while the left piston is retracting. In this state the block position in the middle is unoccupied but the left piston cannot extend yet, so the right piston can extend instead. So, no bug here.
edit: Also, it's basically a duplicate of MC-275318, where this was already explained.
This is not a bug with the redstone order, while spamming, the piston that recently fired is still on cooldown, while the other piston that didn't fire, is ready to extend immediately.
Oh, that makes sense