mojira.dev
MC-46225

Falling sand can replace pistons, destroying them

A vertical piston supporting a sand block used in a pulse shortener (contraption shown in the screenshots) vanishes and is replaced by the sand it was supporting. This device rus on a clock and is therefore activated repeatedly without player intervention.

It happened twice in my suvival world when I wasn't looking. I only noticed the vanished piston when the contraption it is attached to stopped working. The images show a clearer version of the bug.

(Note that when it happened the piston was resting on a solid block and not in the air as shown here)

Linked issues

Attachments

Comments 32

I can confirm that problem. It occurs when the chunk with the piston+sand is unloaded while the contraption is active. You can reproduce it by hooking a bunch of pistons with sand ontop up to a clock and entering and leaving the nether a few times.

Edit: I attached 3 screens of a test setup which can be used to reproduce the issue.
After coming back from the nether (portal directly next to the setup) one piston was missing (and 3 sand broke into items, but that isn't the main issue here).

Edit 2: The issue can also be reproduced by unloading the chunks normally by walking away, so it is not related to portals.

I can confirm this aswell, everything said above.
Seen this happen several times in my world now.

Still present in 14w06b. Would be nice if someone could update that.

Anthony Mezzetta

I can confirm this. This has happened to me 3 times so far In my world. And is still present in 14w08a.

Timothy Bright

I can confirm this as well. It's not just this setup though. I was using a double hopper timer with two sticky pistons pushing a block of redstone back and forth. Twice when I came to check on the timer, the block of redstone was gone, and one of the sticky pistons was gone as well.

22 more comments
Christopher Martin

And to 14w21b, please. It's been nearly six months.

Copying over the relevant section of my comment on MC-51662:
I've still yet to see sand replace a piston, though I'm guessing that's a bug in checking block IDs versus metadata, like MC-4239. Considering this little tidbit from the wiki:

If the block at its location has the same ID as its TileID when Time ticks from 0 to 1, the block will instead be deleted, and the entity will continue to fall, having overwritten it. (This was the result of Mojang's failed attempt to "fix" infinite sand/gravel/dragon egg/anvil/etc. generators by trying to have the falling sand entity delete the duplicated block the next tick)

I'm guessing that block check in the FallingSand entity is misreading the piston as sand, and thus deleting the piston base if the FallingSand entity ever occupies the same block.

ChocolateChip Cookies

I can't seem to replicate this in 14w27a. (The sand breaks quite often, which may or may not be intended, but the piston doesn't disappear.)

Christopher Martin

ChocolateChip Cookies -

I have done some testing with 14w27b and, on the surface, this seems to be (at least for now) working again. Given that Mojang have not closed the issue I would suggest either:

a) they are aware of the issue and don't consider it closed yet - this is (possibly/maybe) because 1.8 is still an object in motion, and further recoding and tweaking may break it again. That seems a bit thin (certainly without confirmation), but I guess we need to give them the benefit of the doubt.

b) they are not aware of the issue and the new (or should I say, restored old) behaviour is an unintentional side effect of other changes

Neither of these give much hope that's it's fixed for good at this stage. Given that the release notes on recent snapshots make no mention of piston mechanics it's reasonable to assume that what's been changed recently may be changed again, without warning or mention, in future releases, as that's what's happened before.

Resolved
Can only set 14w30a as fixed version

Guillem Saldo Rubio

(Unassigned)

Confirmed

redstone

Minecraft 14w04b, Minecraft 14w05b, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, ..., Minecraft 14w19a, Minecraft 14w20a, Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b

Minecraft 14w30a

Retrieved