mojira.dev
MC-10410

Sunlight Value staying 15 during night

The debug screen displays sl=15 at night. I think that's incorrect.

Linked issues

MC-642 Sunlight Value staying 15 during night. Resolved MC-9374 Light Levels in debug screen perpetually equal 15 Resolved MC-45473 Light levels on blocks don't change at night Resolved MC-46359 Light Indicator in F3 does not accurately list sunlight value Resolved MC-58338 Light from sky doesn't change at night Resolved

Attachments

Comments 2

Don't think so because sl: shows the maximum possible skylight exposure level at the spot you are standing. For my thinking, rl: should instead change at night here. However, this has already been reported in [MC-911|MC-911] and some linked reports.

Anyone coming here and wondering why it's Works As Intended, here is a comment from a very old ticket:

[Mod] Amaranth (Travis Watkins) added a comment - 26/Oct/12 12:10 AM
Minecraft has two light values: sun light and block light. The sun light value never changes as that would be very expensive. This is how it worked before beta 1.8 and sunrise/sunset were laggy.
The game knowns to ignore sun light values during the night for spawning and such so there is no problem with this setup. It even uses the sun light values for deciding where and how intensely it should render the blue "moonlit night" shade for a world instead of just pitch black darkness.

Alexander Klimov

(Unassigned)

Unconfirmed

night, sunlight, value

Snapshot 13w09a

Retrieved