[MC-234] Digging straight down glitches out the breaking animation (Z-fighting) Created: 24/Oct/12  Updated: 07/Aug/19  Resolved: 23/Apr/19

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Minecraft 1.4.5, Minecraft 1.4.7, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w42b, Minecraft 13w43a, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 14w17a, Minecraft 14w28a, Minecraft 14w31a, Minecraft 14w32d, Minecraft 14w34d, Minecraft 1.8, Minecraft 1.8.4, Minecraft 1.8.8, Minecraft 15w31a, Minecraft 15w44a, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47a, Minecraft 15w47c, Minecraft 15w49a, Minecraft 1.8.9, Minecraft 15w50a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w04a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 18w03b, Minecraft 18w16a, Minecraft 18w19b, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43c, Minecraft 18w47a, Minecraft 18w47b
Fix Version/s: Minecraft 1.13-pre6

Type: Bug
Reporter: Alexander Hammett Assignee: [Mojang] Grum (Erik Broes)
Resolution: Fixed Votes: 55
Labels: z-fighting

Attachments: PNG File 2016-12-17_22.29.20.png     File 2018-07-26_16-24-31.mp4     File 2018-07-26_16-43-55.mp4     File 2019-08-01 19-19-12.mp4    
Issue Links:
Duplicate
is duplicated by MC-9743 Z-fighting of block breaking textures... Resolved
is duplicated by MC-10011 Breaking block graphic glitch Resolved
is duplicated by MC-15899 Block Break Texture Resolved
is duplicated by MC-32866 Cracking effect on Trees don't show w... Resolved
is duplicated by MC-33627 Watching down mining a block will hav... Resolved
is duplicated by MC-38444 Z-fighting when looking down to break... Resolved
is duplicated by MC-41475 Invisible Breaking Resolved
is duplicated by MC-45186 Breaking sprite not showing Resolved
is duplicated by MC-48701 Cracks in Wood appear to be z-fighting Resolved
is duplicated by MC-49787 Tree Block Breaking Animation Glitching Resolved
is duplicated by MC-51550 Animation Issue When Mining Resolved
is duplicated by MC-51964 Destroy animation now working properly Resolved
is duplicated by MC-53494 Unable to see blocks breaking Resolved
is duplicated by MC-65272 Cracking Disappear Resolved
is duplicated by MC-68682 Breaking Texture Issue Resolved
is duplicated by MC-68930 Block breaking texture sometimes disa... Resolved
is duplicated by MC-70187 Breaking animation is choppy or missi... Resolved
is duplicated by MC-71403 block break animation is not always s... Resolved
is duplicated by MC-74006 Breaking animation not shown when loo... Resolved
is duplicated by MC-87856 On a block somtimes rift not display Resolved
is duplicated by MC-91688 CantSee Mineing Animation Resolved
is duplicated by MC-92774 Cracking animation not working Resolved
is duplicated by MC-94053 Breaking block texure bug Resolved
is duplicated by MC-98214 Mining animation isn't rendering unde... Resolved
is duplicated by MC-103088 Shifting stops the block mining anima... Resolved
is duplicated by MC-104659 No breaking block overlay when lookin... Resolved
is duplicated by MC-108816 Invisible and visible crack on block Resolved
is duplicated by MC-108976 Block Breaking animation disappears w... Resolved
is duplicated by MC-119998 Crafting & Breaking Bug Resolved
is duplicated by MC-132679 If you stand on top of a tree and min... Resolved
is duplicated by MC-215 Vertical Oak Wood does not show mnini... Resolved
is duplicated by MC-265 digging down, block disappears the re... Resolved
is duplicated by MC-373 Block Cracking Animation Resolved
is duplicated by MC-809 There is no "sign" of cutting the tree Resolved
is duplicated by MC-1491 Breaking Particals Resolved
Relates
relates to MC-158274 Z-Fighting With Breaking Animation An... Resolved
relates to MC-35507 Block breaking animation renders inco... Resolved
CHK:
Confirmation Status: Confirmed
Game Mode: Survival

 Description   

The bug

When digging straight down the breaking animation glitches out. It may flicker or not appear at all, but not always.

How to reproduce

I had better results when digging into the ground instead of building and breaking a pillar.

Code analysis

Code analysis by tterrag can be found in this comment.



 Comments   
Comment by Santiago Dailey [ 02/Aug/19 ]

Alright, just created one with a better video.

Comment by [Mod] violine1101 [ 02/Aug/19 ]

sdailey, the video you posted is irrelevant to the ticket posted here. Please create a new report about it. However, just like FaRo1, I cannot see anything faulty in the video, so if you create a new ticket, please point out exactly what the buggy animation is.

Comment by Santiago Dailey [ 02/Aug/19 ]

That bug requires mipmaps and a certain angle. You don't need mipmaps to have this bug appear.

Comment by Fabian Röling [ 02/Aug/19 ]

Only if it isn't described already by MC-35507.

Comment by Santiago Dailey [ 02/Aug/19 ]

So what you're saying is that I should make another bug report. Also MC-9743 complained of the same thing looking up.

Comment by Fabian Röling [ 02/Aug/19 ]

This bug was consistent and didn't depend on movement, the animation was completely gone and it only happened downwards.

Comment by Santiago Dailey [ 02/Aug/19 ]
  1. I'm moving around as it makes the bug appear more consistently.
  2. Is there a problem with me digging up? And it only appears when I dig up so far.
  3. You can clearly see it in the video I posted, the breaking animation flickers on and off. You probably won't see it if you have a 30hz monitor.
Comment by Fabian Röling [ 02/Aug/19 ]

1. Why are you moving so much? 2. You're digging up, not down. 3. I see no buggy animation.

Comment by Santiago Dailey [ 02/Aug/19 ]

It affects 1.14.4 but not 1.13.0.

2019-08-01 19-19-12.mp4

Comment by Santiago Dailey [ 01/Aug/19 ]

Yeah, I can make one. Forgot to set this issue on watch, so sorry for the late response.

Comment by Fabian Röling [ 29/Jul/19 ]

Can you make a screen recording of it with F3 open, please? And does it also happen to you in 1.13.0?

Comment by Santiago Dailey [ 29/Jul/19 ]

It is still happening in 1.14.4

GPU: NVidia Geforce GTX 1080

Comment by Galaxy_2Alex [ 23/Apr/19 ]

Closing as Fixed.

Comment by TheBoy358 [ 18/Jan/19 ]

I have difficulty to reproduce this bug so i think it was fixed ?

Comment by tterrag [ 30/Nov/18 ]

This was fixed in 1.13-pre6 (at least my suggested code adjustment was implemented by Grum) however it still seems to affect a very small amount of players. I have a feeling this is mostly players with Intel GPUs. The second example video posted by Kumasasa shows an Intel GPU in the debug screen.

So please, if you can reproduce this, give us the model of your GPU, or just post a screenshot with F3 open.

Comment by Drullkus [ 25/Nov/18 ]

Still occurring in 18w47b...

Comment by Pierrot Charles (Inactive) [ 30/Oct/18 ]

in fact it's not fixed in 18w43c sorry to have believed

Comment by Oval [ 30/Oct/18 ]

Not fixed for 18w43c.

Comment by Oval [ 14/Oct/18 ]

Confirmed for 1.13.1.

Comment by Pierrot Charles (Inactive) [ 01/Aug/18 ]

affect 18w30b

Comment by Kumasasa [ 26/Jul/18 ]

Still in 1.13, see 2018-07-26_16-24-31.mp4 (triggered by sneaking) and 2018-07-26_16-43-55.mp4 (triggered by changing tilt angle)
Not my videos, cortesy of Discord

Comment by Matthew [ 12/Jul/18 ]

Do you have any evidence of this? GIF or video showing version would suffice.

Comment by Gamepro5 [ 10/Jul/18 ]

lol this bug was fixed in pre6 but has been re-added in pre7: Can confirm for pre-7

Comment by Fabian Röling [ 06/Jul/18 ]

Sorry mate, you're too late for that joke, it's already fixed. And even if I do /execute at @e run summon ender_dragon and get a bug with it, it's still valid.

Comment by flarn2006 [ 06/Jul/18 ]

WONTFIX, bug is result of incorrect user action

Comment by tterrag [ 14/May/18 ]

The game uses this bit of rendering magic to prevent z-fighting for the breaking animation:

GlStateManager.doPolygonOffset(-3.0F, -3.0F);

However, this seems to be ineffective at nearly perfectly straight-on viewing angles. I think this is due to the second parameter, the constant, being too low. I tested changing this to

 GlStateManager.doPolygonOffset(-1.0F, -10.0F); 

And was not able to reproduce this bug anymore, nor could I find any new issues caused by this change.

Using MCP names, this change was made in RenderGlobal.preRenderDamagedBlocks.

Comment by [Mod] bemoty [ 10/Aug/17 ]

Can confirm for MC 1.12.1.

Comment by Tim "timmyRS" Speckhals [ 16/Jul/17 ]

Can confirm for 1.12

Comment by [Mod] Michael Wobst [ 01/Jan/17 ]

FaRoGaming no, I don't have any capturing software installed. Besides it wouldn't look any different than in the attached screenshot.

Comment by Fabian Röling [ 01/Jan/17 ]

miwob For me the breaking animation just disappears when I look exactly 90° down, it doesn't look like in your picture. Can you please make a video of it?

Comment by null (Inactive) [ 22/Jun/16 ]

Confirmed for 1.10.1.

Comment by Fabian Röling [ 09/Jun/16 ]

When I look straight up, I get a breaking animation in 1.10. Only when I look straight down it's invisible.

Comment by null (Inactive) [ 08/Jun/16 ]

Confirmed for 1.10.

Comment by null (Inactive) [ 07/Jun/16 ]

Confirmed for 1.10-pre2.

Comment by null (Inactive) [ 03/Jun/16 ]

Confirmed for 1.10-pre1.

Comment by null (Inactive) [ 26/May/16 ]

Confirmed for 16w21b.

Comment by null (Inactive) [ 25/May/16 ]

Confirmed for 16w21a.

Comment by null (Inactive) [ 18/May/16 ]

Confirmed for 16w20a.

Comment by MalbaCato [ 11/May/16 ]

Confirmed in 1.9.4

Comment by null (Inactive) [ 05/May/16 ]

Confirmed for 1.9.3-pre3.

Comment by Fabian Röling [ 29/Apr/16 ]

Affects 1.9.3-pre2.

Comment by Fenhl (Max Dominik Weber) [ 04/Apr/16 ]

Affects 1.9.2.

Comment by James (inactive) [ 15/Mar/16 ]

Confirmed for 1.9.1-pre3.

Comment by Fenhl (Max Dominik Weber) [ 09/Mar/16 ]

Affecta 1.9.1-pre1.

Comment by Fenhl (Max Dominik Weber) [ 27/Feb/16 ]

Affects 1.9-pre4.

Comment by Fenhl (Max Dominik Weber) [ 25/Feb/16 ]

Affects 1.9-pre3.

Comment by Fenhl (Max Dominik Weber) [ 18/Feb/16 ]

Affects 1.9-pre2.

Comment by Fenhl (Max Dominik Weber) [ 17/Feb/16 ]

Affects 1.9-pre1.

Comment by Fenhl (Max Dominik Weber) [ 16/Feb/16 ]

Affects 16w07b.

Comment by Fenhl (Max Dominik Weber) [ 15/Feb/16 ]

Affects 16w07a.

Comment by Fenhl (Max Dominik Weber) [ 10/Feb/16 ]

Affects 16w06a.

Comment by Fenhl (Max Dominik Weber) [ 06/Feb/16 ]

Affects 16w05b.

Comment by Fenhl (Max Dominik Weber) [ 29/Jan/16 ]

Affects 16w04a.

Comment by James (inactive) [ 13/Jan/16 ]

Confirmed for 16w02a.

Comment by Fenhl (Max Dominik Weber) [ 17/Dec/15 ]

Affects 15w51b.

Comment by Fenhl (Max Dominik Weber) [ 03/Dec/15 ]

Affects 15w49a.

Comment by Fenhl (Max Dominik Weber) [ 02/Dec/15 ]

Affects 15w47c.

Comment by Swekob [ 18/Nov/15 ]

Affects 15w47a.

Issue more likely to reproduce while sneaking.

Comment by Fenhl (Max Dominik Weber) [ 12/Nov/15 ]

Affects 15w46a.

Comment by Fenhl (Max Dominik Weber) [ 09/Nov/15 ]

Affects 15w45a.

Comment by Swekob [ 02/Nov/15 ]

Confirmed for 15w44b.

The breaking animation is invisible now.

Comment by husky2490 [ 29/Jul/15 ]

Confirmed for Snapshot 15w31a, only happens when centered on the block though

Comment by XepherTim [ 09/May/15 ]

Mac Yosemite, Minecraft 1.8.4, confirmed still happening.

Comment by C_moneySmith [ 03/Nov/14 ]

confirmed for 1.8

Comment by Tintti214 [ 11/Aug/14 ]

Still happens in 14w32d

Comment by Jeuv [ 09/Jul/14 ]

Confirmed in 14w28a.

Comment by Quinton [ 02/Mar/14 ]

Affects Mac OS X Maverics.

Comment by Fenhl (Max Dominik Weber) [ 06/Sep/13 ]

Affects snapshot 13w36a.

Comment by Ben W [ 14/Apr/13 ]

Happens to me in 1.5.1 when digging straight up (most noticeable on trees).

Comment by Fenhl (Max Dominik Weber) [ 27/Jan/13 ]

Still happens in 1.4.7

Comment by Howzieky [ 16/Dec/12 ]

still a bug in 12w50b

Comment by Carey Tilden [ 30/Nov/12 ]

Still happens to me sometimes in 1.4.5

Comment by Tails [ 30/Nov/12 ]

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

Comment by Do [ 31/Oct/12 ]

MC-1491 reports that this also affects digging straight up.

Comment by Thomas Galvin [ 31/Oct/12 ]

This used to happen only when looking straight down or straight up, but I've now seen it looking at eye level too. Perhaps expanding the model of the 'cracking' block so it doesn't z-fight?

Comment by Tavis [ 25/Oct/12 ]

This appears to be about the breaking animation z-fighting with the block being broken rather than the block reappearing.

Comment by Carey Tilden [ 24/Oct/12 ]

I've seen the same thing when digging straight up too. For example, when chopping down a tree.

Comment by Gravity [ 24/Oct/12 ]

I have also seen this become an issue with the introduction of unified MP/SP logic.

Comment by Nathan Workman [ 24/Oct/12 ]

Yes this has been in the game for a while now and seems to be do to client server lag. And since in 1.3 and it runs an internal server this bug was made a singleplayer bug as well.

Generated at Sun Jan 12 11:50:20 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.