mojira.dev
MC-313866

Incorrect skylight levels of 14–15 in enclosed underground areas within a chunk

Description

An enclosed underground area in my singleplayer world has abnormally high skylight levels of 14–15 despite having no exposure to the sky. The affected area follows chunk boundaries, and the incorrect skylight persists after saving and reloading the world.

I initially discovered this issue while digging a tunnel at Y = -32. Further excavation revealed an entire 16 × 16 underground room with a uniform skylight level of 14 and a block light level of 0.

Steps to reproduce

The abnormal lighting can be consistently reproduced using a backup of the affected world:

  1. Open the affected world backup in Minecraft Java Edition 26.3.

  2. Enable Creative mode and commands.

  3. Teleport to the following location:

    /tp @s 6089.5 -28 -1823.5

  4. Open the F3 debug screen and observe the skylight level.

  5. Move across the northern chunk boundary at Z = -1824 and observe the change in skylight.

  6. Save and reload the world. The abnormal skylight persists.

Expected result

The enclosed underground cave should have a skylight level of 0, as it has no exposure to the sky.

Actual result

The cave has a skylight level of 15 and a block light level of 0. Skylight can also change abruptly from 15 to 11 near the chunk boundary.

Excavating blocks within the affected chunk produces underground areas with a uniform skylight level of 14. The skylight gradually decreases outside the affected chunk.

Additional testing

  • Creating a new world with the same seed in version 26.3 produces normal skylight levels of 0 at the same location.

  • Loading an earlier backup in which the affected chunk had not yet been saved, and generating the chunk by teleporting to the location, also produces normal skylight levels.

  • A backup from December 1, 2026, already exhibits the issue before the excavation described above.

  • The world was originally created in version 26.2, but the affected area was most likely first generated in version 26.3.

Save data observations

A read-only inspection of copies of the region files revealed the following:

  • Affected chunk: (380, -114).

  • Region file: r.11.-4.mca.

  • A backup from October 30, 2026, contains seven consecutive chunk sections (Y = -64 through 47) whose SkyLight arrays consist entirely of 15s, including positions occupied by opaque blocks.

  • All 28,672 skylight entries in these sections were set to 15.

  • After excavation, most newly exposed air blocks have a skylight level of 14, while most unchanged positions retain their original skylight values.

  • The affected chunk is marked with isLightOn = 1.

The abnormal lighting is reproducible using the affected world backups, but the original conditions that caused the incorrect skylight data remain unknown. The affected world backup and region files are available upon request.

Environment

macOS

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media][media]

xhzpen

(Unassigned)

Unconfirmed

26.3

Retrieved