Mojira Archive
MC-265667

Grass block cracking animation is darker on the sides

The bug

The cracking animation is darker on the sides of grass blocks than it is on the top and bottom, and darker than on the sides of other blocks.

How to reproduce

  1. Punch grass

Expected results

The side cracking wouldn't be darker than the top.

Actual results

It is.

How to fix

This is without a doubt due to the sides of grass blocks using two textures (a base and an overlay), making this issue effectively the same as MC-166101 for blocks.

For cutout-rendered blocks (of which minecraft:grass_block is one), this issue could be mitigated by not drawing the crack animation over pixels with 0 alpha. This would fix MC-142156, and would largely mitigate this issue with grass blocks (the darker cracks would be localized to only where the grass overlay is, rather than the entire side face). If those pixels were removed from the non-tinted grass block underlay area, the issue would be fixed entirely.

Unresolved

Connor Steppie

2023-10-05, 12:50 PM

2024-02-28, 05:22 PM

7

7

Confirmed

Textures and models

1.20.2 - 24w09a1.20.2, 23w40a, 1.20.3, 1.20.4 Release Candidate 1, 24w09a

-