mojira.dev
MC-73162

Breaking an entity that instantly breaks in Creative sometimes destroys the block behind it

The bug

Sometimes, when you hit a minecart, boat, item frame, painting, or armor stand in Creative mode, the block behind it is broken as if the attack phased through the entity. The said entity still disappears as normal.

How to reproduce

Summon said entities and punch them in Creative (make sure you're not holding a sword). The block behind the entity should occasionally break as well.

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 40

[^[Bug] MC-73162.zip]

[media][media][media][media][media]

(Apologies if this is a duplicate, the closest issue I could find was MC-58597 which describes a different issue/cause.)

Cannot confirm.
Are you sure your mouse button isn't bouncing ?

Still reproducible in 1.8.1-pre3. It doesn't seem to be caused by bouncing since this does not affect mobs or blocks. However this definitely seems to happen less on my fast PC than on my laptop (attached results).

Re-tested and confirmed when utilizing the CPU

30 more comments

Can confirm in 1.21.4!!

Can confirm 1.21.10 and 25w45a

Sonicwave

(Unassigned)

Confirmed

Platform

Normal

Block states, Player

attack, boat, entity, item_frame, minecart, painting

Minecraft 1.8, Minecraft 1.8.1-pre2, Minecraft 1.8.1-pre3, Minecraft 1.8.1-pre4, Minecraft 1.8.1, ..., 24w14a, 1.21.5, 25w17a, 1.21.7 Release Candidate 2, 1.21.8

Retrieved