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

Empty top subchunks don't update skylight in some cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.15.1, 1.15.2, 20w06a, 20w18a, 20w20b, 20w22a, 1.16 Pre-release 3, 1.16.2
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Lighting
    • Mojang Priority:
      Important

      Description

      The bug

      In some rare cases, sky light can remain after breaking a block.

      How to reproduce

      All steps are also demonstrated in the showcase.mp4 video.

      1. Get a flat surface at a sub chunk. A superflat world with only the first 16 blocks works great.
      2. Make sure no blocks are in this subchunk or in the neighboring subchunks at the same level or higher.
      3. Place a solid block with one air block between the surface. This is shown in "picture-1.png".
      4. After removing this block, notice that the darker light level remains. See "picture-2.png". This is more clear with "Smooth Lighting: OFF", which you can see in "picture-3.png".
      5. Now place a block directly on top of the surface, and place a solid block with an air block between the surface near it. This is the setup shown in "picture-4.png".
      6. Removing this block, the light level updates correctly. See "picture-5.png"

      The exact place that surrounding blocks affect whether or not the sky light is updated, is unclear to me. There is also a zone where having blocks won't update the skylight, but replacing blocks in that zone will update the skylight.

        Attachments

        1. picture-1.png
          picture-1.png
          337 kB
        2. picture-2.png
          picture-2.png
          460 kB
        3. picture-3.png
          picture-3.png
          335 kB
        4. picture-4.png
          picture-4.png
          335 kB
        5. picture-5.png
          picture-5.png
          375 kB
        6. showcase.mp4
          2.69 MB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Misoloo [Helper] Misode
              Votes:
              9 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: