mojira.dev
MC-269331

Block breaking animation does not account for geometry which is animated

If the player is breaking a block that has an animated model, the block break animation will not display properly. Often, the animation will have an undesired motion, be misaligned, or too stretched or squashed.

The core of this issue is that the breaking animation is always trying to center itself over the 16x16 pixel space of a block, with a scale of 1. This works fine when blocks are within that space (like a full 16x16 pixel block, or a block which aligns on that grid), but when a block goes outside that alignment in any, the issue arises and the breaking animation becomes incorrect.

Steps to Reproduce:

  1. Place down any of the listed blocks in the table below

  2. Mine the block while meeting any of the conditions for the specified block

Affected Block

Part Affected

Notes / Conditions

Enchanting Table

Book

Previously resolved as Won’t Fix in MC-212784

Bell Block

Golden Bell

When the bell is rung/powered

Banner

Flag

Affects the 'wall' variant of banners too

Ender Dragon Head

Lower Mouth

While the block is powered

Piglin Head

Ears

While the block is powered

Chest / Trapped Chest / Ender Chest

Lid

During the open/close animation

Shulker Box

Top Half / Lid

During the open/close animation

Conduit

Outer Shell

Must be activated

Expected & Observed Results:

❌ - All blocks listed above have incorrectly displayed block breaking animations on at least one cube of the block, or more.
✔ - The block break animation would properly scale, rotate, and move as appropriate for the animated block currently being broken.

Screenshots/Videos:

Some of the affected blocks:

[media]

Notes:

Related to MC-183923 MC-212087 MC-142156 MC-167836 MC-269332

Linked issues

Attachments

Comments 4

Are chests (incl. trapped, ender), shulker boxes, and wobbling decorated pots also affected?

Chest types and shulker boxes are affected. Decorated pots are instant-mine so the breaking animation cannot show (unless I am missing something). Will add the missing entries to the issue.

Conduits may or may not be another potential candidate due to motion when activated.

They are affected as well, good catch.

[Mod] Jingy

(Unassigned)

Confirmed

Platform

Low

Rendering

alignment, animated, block-breaking

1.20.4, 24w10a, 24w11a, 24w13a, 1.20.5 Pre-Release 1, 1.20.5 Release Candidate 1, 1.21, 24w34a

Retrieved