mojira.dev
MC-234

Digging straight down glitches out the breaking animation (Z-fighting)

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 @unknown can be found in this comment.

Related issues

MC-215 Vertical Oak Wood does not show mnining animation MC-265 digging down, block disappears the reappears and then disappears. MC-373 Block Cracking Animation MC-809 There is no "sign" of cutting the tree MC-1491 Breaking Particals MC-9743 Z-fighting of block breaking textures and block textures MC-10011 Breaking block graphic glitch MC-15899 Block Break Texture MC-32866 Cracking effect on Trees don't show when underneath. MC-33627 Watching down mining a block will have no destroying texture MC-38444 Z-fighting when looking down to break a block MC-41475 Invisible Breaking MC-45186 Breaking sprite not showing MC-48701 Cracks in Wood appear to be z-fighting MC-49787 Tree Block Breaking Animation Glitching MC-51550 Animation Issue When Mining MC-51964 Destroy animation now working properly MC-53494 Unable to see blocks breaking MC-65272 Cracking Disappear MC-68682 Breaking Texture Issue MC-68930 Block breaking texture sometimes disappears when looking straight down. MC-70187 Breaking animation is choppy or missing when facing straight down MC-71403 block break animation is not always shown when looking straight down MC-74006 Breaking animation not shown when looking straight down MC-87856 On a block somtimes rift not display MC-91688 CantSee Mineing Animation MC-92774 Cracking animation not working MC-94053 Breaking block texure bug MC-98214 Mining animation isn't rendering underneath you MC-103088 Shifting stops the block mining animation MC-104659 No breaking block overlay when looking directly down MC-108816 Invisible and visible crack on block MC-108976 Block Breaking animation disappears when you look down. MC-119998 Crafting & Breaking Bug MC-132679 If you stand on top of a tree and mine down to break it it does not show the animation of breaking a block.

Attachments

Comments

migrated
[media][media][media][media]
migrated

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.

migrated

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

migrated

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

migrated

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

migrated

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?

migrated

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

migrated

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.

migrated

Still happens to me sometimes in 1.4.5

Howzieky

still a bug in 12w50b

migrated

Still happens in 1.4.7

migrated

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

migrated

Affects snapshot 13w36a.

migrated

Affects Mac OS X Maverics.

Jeuv

Confirmed in 14w28a.

migrated

Still happens in 14w32d

C_moneySmith

confirmed for 1.8

migrated

Mac Yosemite, Minecraft 1.8.4, confirmed still happening.

migrated

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

migrated

Confirmed for 15w44b.

The breaking animation is invisible now.

migrated

Affects 15w45a.

migrated

Affects 15w46a.

migrated

Affects 15w47a.

Issue more likely to reproduce while sneaking.

migrated

Affects 15w47c.

migrated

Affects 15w49a.

migrated

Affects 15w51b.

migrated

Confirmed for 16w02a.

migrated

Affects 16w04a.

migrated

Affects 16w05b.

migrated

Affects 16w06a.

migrated

Affects 16w07a.

migrated

Affects 16w07b.

migrated

Affects 1.9-pre1.

migrated

Affects 1.9-pre2.

migrated

Affects 1.9-pre3.

migrated

Affects 1.9-pre4.

migrated

Affecta 1.9.1-pre1.

migrated

Confirmed for 1.9.1-pre3.

migrated

Affects 1.9.2.

FaRo1

Affects 1.9.3-pre2.

migrated

Confirmed for 1.9.3-pre3.

MalbaCato

Confirmed in 1.9.4

migrated

Confirmed for 16w20a.

migrated

Confirmed for 16w21a.

migrated

Confirmed for 16w21b.

migrated

Confirmed for 1.10-pre1.

migrated

Confirmed for 1.10-pre2.

migrated

Confirmed for 1.10.

FaRo1

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

migrated

Confirmed for 1.10.1.

FaRo1

@unknown 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?

wobst.michael

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

migrated

Can confirm for 1.12

bemoty

Can confirm for MC 1.12.1.

migrated

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.

migrated

WONTFIX, bug is result of incorrect user action 😉

FaRo1

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.

migrated

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

qwerty23495

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

kumasasa

Still in 1.13, see

[media]

(triggered by sneaking) and

[media]

(triggered by changing tilt angle)
Not my videos, cortesy of Discord

migrated

affect 18w30b

migrated

Confirmed for 1.13.1.

migrated

Not fixed for 18w43c.

migrated

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

migrated

Still occurring in 18w47b...

migrated

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.

TheBoy358

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

galaxy_2alex

Closing as Fixed.

migrated

It is still happening in 1.14.4

GPU: NVidia Geforce GTX 1080

FaRo1

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

migrated

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

migrated

It affects 1.14.4 but not 1.13.0.

[media]
FaRo1

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

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

FaRo1

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

migrated

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

FaRo1

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

migrated

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

violine1101

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

migrated

Alright, just created one with a better video.

migrated

Erik Broes

Confirmed

z-fighting

Minecraft 1.4.2, Minecraft 1.4.5, Minecraft 1.4.7, Minecraft 1.5, Snapshot 13w11a, ..., Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43c, Minecraft 18w47a, Minecraft 18w47b

Minecraft 1.13-pre6

Retrieved