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

Grass that extends past the edge of a block still uses the lighting of the origin block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w17a, 1.17, 1.17.1, 21w39a, 1.18.1, 1.18.2, 22w19a, 1.19.1 Pre-release 5, 1.19.2, 23w06a, 1.19.4, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.4, 23w51b
    • None
    • Confirmed
    • (Unassigned)

      Note:

      I understand that this may be working as intended, or may be something that won't be fixed, because it would probably require the entire lighting system for grass to be rewritten.
      I did search for a report about this, but couldn't find one. Perhaps I searched incorrectly. :[

      The bug

      When a corner of grass extends past the edge of a block in both directions, it can stick through corners. This is intentional, based on the resolution of MC-63199.

      The issue here, however, is that when this occurs, the parts of the grass that extend past the corner of the block retain the lighting of the origin block. This can cause a player to see a fully lit piece of grass even if the player is in a dark area, or a dark piece of grass even if the player is in a light area.

      How to reproduce

      NOTE: Using the exact coordinates is not necessary to reproduce the issue; this occurs at various coordinates throughout a world.

      1. Travel/teleport to the coordinates 1418 ~ -1660 and place a piece of grass
      2. Stand on a block at 1419 ~ -1661 (at the same Y level as the grass) and surround yourself with two-high walls (not including the corners)
      3. Cover the top of the room with a block (the room should be completely dark)
      4. Run the command /time set noon
      5. Observe that the extended part of the grass is lit, even though it exists in a dark space

      Screenshots

      Screenshot 1: The setup. An example of the setup used to reproduce, from steps 1 - 3.

      Screenshot 2: Side view. An example of how the grass should extend through the blocks.

      Screenshot 3: Player view. What you would see if you were to reproduce this issue.

            Unassigned Unassigned
            markderickson [Mod] markderickson
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: