mojira.dev
MC-51662

Sand/Gravel broken into entity by upward extending piston

Pistons extending upwards break sand and gravel the same way a torch breaks falling sand and gravel.

I have included a world download with a machine to demo the behaviour. The bug is most distinct with the central repeaters on the second setting, but the first setting will result in the block breaking eventually. To start the machine, load sand or gravel on the pistons and press the stone button.

Please note, this may be (or may not be) related to bug MC-46225, but this is different behaviour. In snapshots up until 14w10c the piston disappears, but from 14w11b the piston no longer disappears, but now the block breaks as described above.

Further info - if you replace the pistons with sticky pistons in the test world attached, the problem will not manifest until you change the repeaters to the first setting. On that setting the behaviour of sticky and non-sticky pistons is identical.

Linked issues

Attachments

Comments 15

Duplicate of MC-6438
If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.

Christopher Martin

I'm not sure this is the same issue. MC-6438 refers to pushing blocks into a stack. The problem shown above occurs with a single block placed on a piston, and happens quite predictably on a slow cycle, not spamming. I will look into MC-6438 and try and see if it does encompass this.

Reworking MC-6438 to be a separate issue.

Christopher Martin

In response to Torabi and continuing from the old MC-6438 conversation:

"You say the behavior in MC-51662 is new, but how does it differ from MC-26356 (aside from yours being better written)?", Torabi

All tick variations now seem to break blocks (not just 2 as in MC-26356). Shorter ticks seem to result in more pulses, resulting in a higher chance of the block breaking, but all tick lengths, when spammed, break blocks.

"What did the sand do before?", Torabi

It didn't break. In the latest 1.7 version witch farms work all day without issue.

"You say there that "In snapshots up until 14w10c the piston disappears", so when did it actually work?", Torabi

It worked in every release of 1.7 before the 14w branch, and in all versions of 1.7 after the fork. From 14w04a MC-46225 started breaking the machines. Then, from 14w11b machines were breaking because of both MC-46225 and MC-51662.

Unfortunately, this issue is now four months old for me, so my imperfect memory is now a complication. The description should likely read:

"In snapshots up until 14w10c the piston disappears (as in MC-46225), but from 14w11b the piston now can display either behaviour, either disappearing as in MC-46225 or breaking sand as described above."

If that makes sense to you I will update the description.

Also, the behaviour has evolved over the snapshots. In 14w11b the blocks break aggressively while you are present, now it takes a two tick pulse to do it in front of you, but a chunk unload, by teleporting away or portal travel, triggers it (or MC-46225) fairly predictably (as long as you are aware of the spawn chunks and take their impact into account) no matter the pulse length.

Really, the best bet at this stage is to download the machine from MC-46225 (it has many improvements so I'll post it here too and remove the old one) and load it into 14w11b and step forward from there, as the behaviour seemed to subtly evolve over time. If you need me to do that process it will have to wait until the weekend for me to have enough time to dedicate to that sort of testing.

As of 14w25b, it is much more likely for the sand to break than piston disappear. I can't even get pistons to disappear in the test world on SP any more, but if I download our server files to a local test server and run them in 14w25b they do disappear on chunk unloads, but not at the same rate they used to (circa 14w10c).

"Regardless, both are likely caused by one of the following:
Sand falling onto a moving (extending or retracting) piston head, treating it like a non-solid block (such as a torch, rail, etc) and breaking.
Sand falling into an extending/extended piston head (MC-4789) and breaking because it has nowhere to land (MC-6438).
Sand falling into the empty space while the piston is retracted, and breaking rather than being pushed when it extends.
I think that falling sand, as an entity, would be pushed by the piston, and only break when landing on a non-solid block.", Torabi

I concur that all of these are possibly related. It needs a serious investigation to straighten it out. There may be an underlying tick processing issue, as was recently demonstrated by Panda in reference to Redstone Torch processing (MC-56541).

Christopher Martin

I have uploaded PistonVanishTest.7z, a revised version of my original test machine for these issues. Please use it for testing as it has the machine built outside the spawn chunks, ensuring chunk unloads on teleport. It also have signs explaining it's use and command blocks for teleport testing. I will revise it this weekend with command blocks to manipulate the tick rates to allow that sort of testing as well, but I need to research the commands for doing that and make sure my understanding is firm before I try updating this.

5 more comments

Confirmed (1.8). Can reproduce by placing a lever next to an upwards-extending piston with sand on top of it and holding right-click on the lever for a while.

Christopher Martin

Sonicwave,

This is never getting fixed, unfortunately. It's been six months and there has been no official word from Mojang. I certainly won't be updating the ticket any more: I just can't keep investing my time in it. It took a monumental effort to even get a Mod to acknowledge this was a discrete bug, and that was a good three months prior to 1.8's release, plenty of time for Mojang to address it. It remains unassigned, so we can be sure of one thing: no-one is looking at it. And seeing as there are many bugs going back multiple versions that remain un-addressed, it seems this bug, like so many before it, aren't 'sexy' enough for Mojang to be bothered to fix it (there was plenty of time to add feature after feature to 1.8, but bug fixes are boring, it seems).

It's insulting to me to have spent twenty times the effort and time it would take to fix the bug updating tickets for each new snapshot, constantly re-testing because, as yet, I can't even be sure anyone at Mojang knows about the bug because there has been no official notice. And, while many people have sent me PMs about this, replied and commented on my YouTube videos about this, no-one up-votes the ticket, so it languishes here, un-addressed and without even a plan to acknowledge it, let alone fix it.

So, I am pretty much done with this bug now. And I may be done with Minecraft too: I paid for a product and it doesn't work to my satisfaction and the manufacturer has done nothing to resolve my issue. If I am willing to take that sort of treatment that just makes me a sucker. I want a refund.

Confirmed for

  • 15w50a Currently mainly caused by MC-89030

@unknown, please retest this. @unknown has done a considerable amount of work on pistons within the past few snapshots, and I am no longer able to get the falling blocks to break in any of my tests. I'm hoping this is fixed, but would like confirmation from others who have successfully replicated it in the past.

Christopher Martin

(Unassigned)

Confirmed

falling_block, piston, sand

Minecraft 14w11b, Minecraft 14w25b, Minecraft 14w26c, Minecraft 14w27b, Minecraft 14w32a, ..., Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.8, Minecraft 15w31b, Minecraft 15w50a

Minecraft 16w41a

Retrieved