mojira.dev
MC-46766

Breaking particles, sounds, and block cracks can be created in spectator mode

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

  1. Go into survival mode

  2. Start breaking a block, but do not finish

  3. Let go of left click and switch to spectator mode

  4. 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.

Linked issues

Attachments

Comments 57

Deleted account

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

47 more comments

Can confirm in 1.19.

Can confirm in 1.19.2.

TomatoClownfish

Can confirm in 1.19.3.

can confirm in 1.20 Pre-release 1

this bug still exists in the newest snapshot, 25w04a

Eric

(Unassigned)

Confirmed

Platform

Low

Player

block, breaking-animation, breaking-particles, game-mode-switch, sound, spectator, survival

Minecraft 14w05a, Minecraft 14w05b, Minecraft 14w18b, Minecraft 14w19a, Minecraft 14w20a, ..., 1.20.3 Release Candidate 1, 1.20.4, 1.21, 24w40a, 1.21.4

Retrieved