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

Lighting stops working above/below 2048 on the y axis / beyond 33,554,432 on the x and z axes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2, 1.16.3, 20w45a, 21w03a, 1.16.5, 21w05a, 21w06a, 21w16a, 21w18a, 21w20a, 1.17 Pre-release 1, 1.17.1, 1.18 Pre-release 1, 1.18 Pre-release 8, 1.18.2, 22w16b, 1.19.1 Pre-release 4, 1.19.4, 1.20 Pre-release 6, 1.20.4
    • None
    • Confirmed
    • Lighting
    • Low
    • Platform

      With the lighting rewrite in 1.14 allowing for directional opacity, it seems that lighting as a whole just gives up if the player ascends any further than y=2048. This issue first appeared in 18w43a, a few snapshots before the directional lighting change. Above 2048, everything is dark, below -2048 appears to behave as full daylight instead.

      For the horizontal axes this limit is 33,554,432, which is impossible to encounter without mods (but is incredibly annoying with mods).

      Expected behaviour would be that light functions correctly above 2048 and beyond 33554432, out to the 32-bit limit (or perhaps even theoretically beyond) on all three axes, which it does in 1.13.2 and before.

      If fixed, I would recommend moving the default world border out to 2 billion blocks, since with this out of the way, there should be no more game-breaking bugs out at this distance.

        1. 2020-07-14_01.05.53.png
          2020-07-14_01.05.53.png
          183 kB
        2. 2020-07-14_01.05.55.png
          2020-07-14_01.05.55.png
          280 kB
        3. 2020-07-14_01.40.02.png
          2020-07-14_01.40.02.png
          329 kB
        4. 2020-07-14_01.45.31.png
          2020-07-14_01.45.31.png
          273 kB
        5. 2021-02-13_21.52.41.png
          2021-02-13_21.52.41.png
          228 kB
        6. 2021-02-13_21.52.52.png
          2021-02-13_21.52.52.png
          173 kB

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

              Created:
              Updated:
              CHK: