Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-265667

Grass block cracking animation is darker on the sides

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.2, 23w40a, 1.20.3, 1.20.4 Release Candidate 1, 24w09a
    • None
    • Confirmed
    • Textures and models

      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.

        1. 2023-10-04_19.21.28.png
          2023-10-04_19.21.28.png
          278 kB
        2. 2023-10-04_19.21.41.png
          2023-10-04_19.21.41.png
          319 kB
        3. 2023-10-05_13.42.47.png
          2023-10-05_13.42.47.png
          241 kB
        4. 2023-10-05_13.42.50.png
          2023-10-05_13.42.50.png
          243 kB
        5. 2023-10-05_13.51.43.png
          2023-10-05_13.51.43.png
          205 kB
        6. 2023-10-05_13.51.54.png
          2023-10-05_13.51.54.png
          203 kB
        7. 2024-02-13_22.44.16.png
          2024-02-13_22.44.16.png
          189 kB
        8. 2024-02-13_22.44.27.png
          2024-02-13_22.44.27.png
          157 kB
        9. 2024-02-13_22.52.20.png
          2024-02-13_22.52.20.png
          54 kB
        10. 2024-02-13_22.53.04.png
          2024-02-13_22.53.04.png
          70 kB

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: