Jump to content

Help finding the Nether's new 1.16 floating point values for light levels (changed from previous versions)


Recommended Posts

Posted (edited)

In older versions of the game, the floating point values for the brightness in the nether was equivalent to the equation y=0.2059*(e^0.1054x) with y being the floating point brightness value (0.0 to 1.0) and x being the integer light level (0-15). In other words, the Nether's light level 15 starts at brightness value 1.0, with each subsequent lower number being reduced by 10%. (For comparison, the overworld does the same thing except it's 20%, meaning a light level of 0 in the nether had a brightness value close to what 8 is in the overworld.)

This is no longer the case as of snapshot 20w09a according to the wiki, but all it says is the ambient light in the nether is darker and doesn't give any specifics. I've been looking all over to figure out what the new ambient light is as well as what the new percentage difference between nether light levels is (since light level 8 in the overworld now seems closer to light level 6 in the Nether instead of 0), but I can't find anything. If anybody could help me find this (even by pointing me to literally any more details on this change) I would appreciate it immensely.

Edited by Vidiri
changed "used" to "was equivalent to" since the equation wasn't *actually* used, but instead could be used to convert one value to the other.
Posted
13 hours ago, Vidiri said:

If anybody could help me find this (even by pointing me to literally any more details on this change) I would appreciate it immensely.

I believe what you are looking for is the defaultAmbientLightWorld() method (called fillBrightnessRamp() in the official mappings) in the DimensionType class.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.