Block breaking animation does not account for geometry which is animated
If the player breaks a block which has a motion animated model, the block break animation will not display properly. Often, the animation will have undesired motion, be misaligned, or too stretch/squash.
The core of this issue is that the breaking animation is always trying to center itself inside the 16x16 pixel space of a block, with a scale of 1. This works fine when blocks are within that space (like a full block, or a block which aligns on that grid), but when a block goes outside that alignment in any way because of animation, the issue arises and the breaking animation becomes offset.
Steps to Reproduce:
- Place down any of the listed blocks:
Affected Block Part Affected Notes Enchanting Table Book Resolved as WF MC-212784Bell Block Golden Bell Must be rung/powered Banner Flag Affected 'wall' variant too Ender Dragon Head Lower Mouth Must be powered Piglin Head Ears Must be powered Chest Lid Must be opening or closing Trapped Chest Lid Must be opening or closing Ender Chest Lid Must be opening or closing Shulker Box Top Half Must be opening or closing Conduit Outer Shell Must be active - Hold down the 'mine block' button, following any notes listed above.
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:
Notes:
Related to MC-183923 MC-212087 MC-142156 MC-167836 MC-269332