The bug
If you start breaking a block in survival mode and switch to spectator mode, that block gains the ability to show the breaking animation.
How to reproduce
Go into survival mode
Start breaking a block, but do not finish
Let go of left click and switch to spectator mode
Attempt to break the same block
→ Notice the breaking animation and particles
Note: Blocks cannot be broken in this way, but in singleplayer you can see the animation. Not sure if others in SMP can see these particles.
Code analysis
Code analysis by @unknown can be found in this comment.
Related issues
is duplicated by
relates to
Attachments
Comments


Is this still a concern in the current Minecraft version 14w11b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. - bot

Confirmed for 14w18b.

Confirmed for 14w19a.

Confirmed for 14w20a and b.

Confirmed for 14w21b

Confirmed for 14w25b

and for 26b.

and 28b.. and 29b.. and 30c.. and 32a

By the way, thank you for keeping up on this so well, I haven't been able to keep on top of it lately. As far as I know, still a problem, client-side, although not an urgent one. It just may have other implications that i am unaware of, such as the client being unaware of restrictions accidentally.

No problem! It sort of goes hand-in-hand with my bug MC-55233, so i always check both.
Confirmed for 14w33a.

Confirmed for 1.8 and 1.8.1-pre2.

and 1.8.1-pre4, and 1.8.2-pre4.

Also occurs in multiplayer, but other player can't see the animation.

And 1.8.3, and 1.8.6 ... and 15w31b

Thanks for keeping tabs on this issue, as I've not been able to check on it for a while. An interesting little bug, hope it gets noticed.

No problem at all.
Still in 15w33b.

When I found the bug, I did not require holding left click between gamemodes, simply having partially broken the block before the gamemode switch was enough. Is this no longer the case?

Eric: It's still the case – if I understand you correctly: I always test for this bug by partially breaking a block, releasing, then switching gamemodes.
Still affects 15w35b.

Alright, then the edit was incorrect? I'll switch it back until notified otherwise.

Still in 36c – Oh I didn't notice the edit! It looks good now anyway.
And still in 47a.

@@unknown: Please write "15w47a" instead of "47a" when mentioning affected versions, otherwise that may slip through some filters.

Sure, thanks, I didn't know about such things. Confirmed in 15w50a.

Is it also confirmed for 1.8.9? I'm forgetting. Thank you once again for keeping me updated!

You're welcome! Confirmed for 1.8.9, and snapshots through 16w04a.

If you want the bot to do it automatically, I think it requires a new comment. But I'm getting your edits just fine, and I like updating it, so either way works. Just FYI 🙂

@unknown no bots update the affected versions, mod do, and indeed a new comment would be much more noticable then a edited comment

Alright, thank you for the clarification. I just assumed "Filter" meant to catch update notifications, possibly for a bot. For some reason, I seem to remember a mod bot updating it for me, but the logs appear to show that I remember incorrectly there as well.

We have a bot to remove future versions from affected versions. The reason we want the whole snapshot version spelled out is so it's easier to parse quickly. The reason we want a new comment is so it shows up in the activity feed and not just in email inboxes.

Alright, thank you for clearing that up.

Oh, I can do new comments if that's better. Confirmed in 16w05a.

Affects 16w05b.

Affects 16w06a and 16w07a.

Affects 16w07b.

Affects 1.9 Pre-release 1.

Still in 1.9

Affects 1.9.1 Pre-release 1.

Please put a link in the description to Marcono1234's code analysis:
https://bugs.mojang.com/browse/MC-55233?focusedCommentId=301528&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-301528
Also, affects 1.9.4.

Where is the difference of this and MC-55233 (except the other starts with creative mode) ?

Affects 16w20a. The only differences are the starting mode, and the way the breaking animation / particles look.

Confirmed for 1.13.1.

Affects 1.16.1 and 20w29a
Can confirm in 20w48a.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w11a.
Can confirm in 21w17a.
Can confirm in 1.17.1.

Can confirm in 21w44a.
Can confirm in 1.18.1.
Can confirm in 1.18.2.
Can confirm in 1.19.
Can confirm in 1.19.2.

Can confirm in 1.19.3.

can confirm in 1.20 Pre-release 1

this bug still exists in the newest snapshot, 25w04a