mojira.dev
MC-9342

Piston retracts an extended piston when de-powered at the same time.

I de-powered 2 extended pistons at the same time. I did not expect the first piston to grab the second piston because they get de-powered at the same time.

But instead, the first piston did grab the second piston.

How to reproduce:
1. Build the setup from the picture
2. Flip the lever(s)
3. Notice that the second piston gets retracted by the first piston.

Related issues

Attachments

Comments

migrated
[media][media]
migrated

Confirmed.

migrated

Could not reproduce this in 13w06a, probably for the same reason.

kumasasa

I don't see the bug here: Both pistons are de-powered = both pistons retract.

When both pistons are observed independantly, the order of the two steps doesn't play a role here:

  • The lower piston is depowered, it retracts and grabs the upper piston.

  • The upper piston is depowered, it retracts.

migrated

I'll explain:

A piston cannot retract an extended piston.
The retracting of a piston takes time. (about 1 tick, not exactly sure)
The pistons are both de-powered at the exact same time.
That means that the pistons will both retract at the exact same time.
When the bottom piston starts retracting, the top piston isn't retracted yet.
That means the bottom piston shouldn't grab the piston above it, because it can't retract an extended piston.

migrated

Aha, and I thought that pistons are meant to extend in this manner too, but they don't due to [MC-9341|MC-9341] - that's why I said "cannot reproduce" earlier. Thanks for highlighting that.

migrated

Reproducible in 13w09b.

Jens Bergensten

I've decided that this is the expected behavior. If I "fix" it, people will complain that it's much harder to do double-length piston extenders.

migrated

If it would retract both the piston and the block above, it would indeed be easier but that's not the case. It only retracts the piston and it leaves the block, this makes it harder to make double extenders instead of easier.

migrated

@Jeb can you then also make it retract the block?

migrated

If you build the same setup but downwards, the upper piston doesn't retract the lower one, as it was in earlier versions.

migrated

If a bug would make an double piston extender more compact, doesn't mean it is consistent with the rest of the logic of the game.
And this compact double piston extension is also heavily direction dependent and inconsistent as demonstrated in this short video: http://www.youtube.com/watch?v=_eqsc5Q3cko

So I would really hope that this would either be removed or be made much more consistent.

migrated

I honestly hope that this is fixed as Dico suggested, or it is returned to the way it used to be done. As it is now it actually makes the double/triple extenders harder to build.

migrated

Oddly enough, with the horizontal setup, if you place another block and put redstone on top, the pistons behave as they did before.

migrated

I'm gonna miss this bug.
But it definitely was a bug

migrated

Jens Bergensten

Confirmed

Snapshot 13w06a, Snapshot 13w07a, Snapshot 13w09a, Snapshot 13w09b, Minecraft 1.7.4, ..., Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8-pre3, Minecraft 1.8

Retrieved