Light Level 2025
Press F9 to see the block light levels.
Inspired by LightLevel By parzivail, with some improvements implemented.

Dependencies
You can find the dependencies in the description of each release.
-
Fabric Loader
Download from fabricmc.net -
Fabric API
Download from modrinth
View source on GitHub
Features
Dimension-Specific Color Coding
The colors used to represent the light levels can be customized in config/light-level-2025.yaml as
hex color codes.
Overworld
-
Hostile mobs cannot spawn
- color: green
- conditions:
- block light >= 1
- config field:
text.color.safe
-
Hostile mobs can spawn at night
- color: yellow
- conditions:
- block light = 0
- sky light >= 8
- config field:
text.color.warning
-
Hostile mobs can always potentially spawn
- color: red
- conditions:
- block light = 0
- sky light <= 7
- config field:
text.color.danger
The Nether
-
Mobs cannot spawn
- color: green
- conditions:
- block light >= 12
- config field:
text.color.safe
-
Mobs can always potentially spawn
- color: red
- conditions:
- block light <= 11
- config field:
text.color.danger
The End
-
Mobs cannot spawn
- color: green
- conditions:
- block light >= 1
- config field:
text.color.safe
-
Mobs can always potentially spawn
- color: red
- conditions:
- block light = 0
- config field:
text.color.danger
Adjustable Text Height
If a block that doesn't have a collision box is above the target block and its appearance obstructs the text, the light level will be shown above its visual.
Debug Mode
Press F3 to show both the block light and the sky light levels.
Technical Features
Block Exclusion Conditions
The rendering on a target block will be skipped if:
-
The target block is one of the following (config field:
block.blacklist):minecraft:airminecraft:barrierminecraft:bedrockminecraft:chain_command_blockminecraft:command_blockminecraft:end_portalminecraft:nether_portalminecraft:repeating_command_block
-
The target block is not opaque and visually transparent.
- Examples Excluded:
minecraft:glassminecraft:ice
- Examples Not Excluded:
minecraft:glowstoneminecraft:packed_ice
- Examples Excluded:
-
The target block does not have a full square top surface.
- Examples Excluded:
- bottom slabs
- right-side-up stairs
- Examples Not Excluded:
- top slabs
- up-side-down stairs
- Examples Excluded:
-
A block above the target block has a collision shape.
- Examples Excluded:
minecraft:ladderminecraft:snow(layers count >= 2)
- Examples Not Excluded:
minecraft:vineminecraft:snow(layers count = 1)
- Examples Excluded:
Caching
This mod caches information about block positions and the text to be rendered, storing it in memory for faster access.
By setting the cache update frequency in frames, the update rate automatically adjusts based on FPS — updating more frequently in high-FPS environments and less frequently in low-FPS environments.
You can change the update frequency via cache.update_interval_frames in the config file.
Rendering Culling
This mod does not render the light level for a target block that is invisible to the player.
Configuration
You can customize the mod behavior via config/light-level-2025.yaml.
-
render_distancehorizontal: Maximum horizontal distance for rendering- Default:
16
- Default:
vertical: Maximum vertical distance for rendering- Default:
4
- Default:
-
blockblacklist: Blocks to exclude from rendering- Default:
minecraft:airminecraft:barrierminecraft:bedrockminecraft:chain_command_blockminecraft:command_blockminecraft:end_portalminecraft:nether_portalminecraft:repeating_command_block
- Default:
whitelist: Blocks to include in rendering- Default:
minecraft:mudminecraft:slime_blockminecraft:soul_sand
- Default:
-
textcolor:safe: Light level where hostile mobs cannot spawn- Default:
40FF40
- Default:
warning: Light level where hostile mobs can spawn at night in Overworld- Default:
FFFF40
- Default:
danger: Light level where hostile mobs can always potentially spawn- Default:
FF4040
- Default:
neutral: Display color for unknown or unsupported dimensions- Default:
FFFFFF
- Default:
scale:normal: Text size for normal state- Default:
0.03125
- Default:
debug: Text size for debug screen- Default:
0.020833334
- Default:
offset_y_base: Height to offset the text from the block- Default:
0.1
- Default:
hide_safe: Hides light level values that are considered "safe"- Default:
false
- Default:
-
cacheupdate_interval_frames: Frequency in frames to update the block cache- Default:
20
- Default:
Contribution
We welcome contributions from the community!
To contribute, please fork the repository and create a pull request on GitHub. We appreciate your help in making this project even better!
Please note that when we use a LLM for code proofreading, aspects of the code might change. This isn't a reflection of any dissatisfaction or shortcomings with your original code.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 |
- [Fabric Loader 0.17.2](https://fabricmc.net/use/installer/)
- [Fabric API 0.133.6+1.21.9](https://modrinth.com/mod/fabric-api/version/0.133.6+1.21.9)
## Features
- Upgrade to 25w37a
- Adapt to updated key binding registration
- [Fabric Loader 0.17.2](https://fabricmc.net/use/installer/)
- [Fabric API 0.132.3+1.21.9](https://modrinth.com/mod/fabric-api/version/0.132.3+1.21.9)
## Features
- Upgrade to 25w35a
- [Fabric Loader 0.17.2](https://fabricmc.net/use/installer/)
- [Fabric API 0.132.1+1.21.9](https://modrinth.com/mod/fabric-api/version/0.132.1+1.21.9)
## Features
- Upgrade to 25w34b
- [Fabric Loader 0.17.2](https://fabricmc.net/use/installer/)
- [Fabric API 0.131.3+1.21.9](https://modrinth.com/mod/fabric-api/version/0.131.3+1.21.9)
## Features
- Upgrade to 25w33a
- [Fabric Loader 0.17.2](https://fabricmc.net/use/installer/)
- [Fabric API 0.131.2+1.21.9](https://modrinth.com/mod/fabric-api/version/0.131.2+1.21.9)
## Features
- Upgrade to 25w32a
- [Fabric Loader 0.16.14](https://fabricmc.net/use/installer/)
- [Fabric API 0.129.0+1.21.8](https://modrinth.com/mod/fabric-api/version/0.129.0+1.21.8)
## Features
- Upgrade to 1.21.8
- [Fabric Loader 0.16.14](https://fabricmc.net/use/installer/)
- [Fabric API 0.128.1+1.21.7](https://modrinth.com/mod/fabric-api/version/0.128.1+1.21.7)
## Features
- Upgrade to 1.21.7
- [Fabric Loader 0.16.14](https://fabricmc.net/use/installer/)
- [Fabric API 0.128.0+1.21.7](https://modrinth.com/mod/fabric-api/version/0.128.0+1.21.7)
## Features
- Upgrade to 1.21.7-rc2
- [Fabric Loader 0.16.14](https://fabricmc.net/use/installer/)
- [Fabric API 0.128.0+1.21.7](https://modrinth.com/mod/fabric-api/version/0.128.0+1.21.7)
## Features
- Upgrade to 1.21.7-rc1
- Add option to hide safe light level values
- [Fabric Loader 0.16.14](https://fabricmc.net/use/installer/)
- [Fabric API 0.127.0+1.21.6](https://modrinth.com/mod/fabric-api/version/0.127.0+1.21.6)
## Features
- Upgrade to 1.21.6
- [Fabric Loader 0.16.14](https://fabricmc.net/use/installer/)
- [Fabric API 0.126.1+1.21.6](https://modrinth.com/mod/fabric-api/version/0.126.1+1.21.6)
## Features
- Upgrade to 1.21.6-pre4
- [Fabric Loader 0.16.14](https://fabricmc.net/use/installer/)
- [Fabric API 0.126.1+1.21.6](https://modrinth.com/mod/fabric-api/version/0.126.1+1.21.6)
## Features
- Correct hex color format error in 1.21.6-pre3-1+ configs
- Change rendering timing from LAST to AFTER_ENTITIES
- Prevent culling if either block center or bottom center is visible
- Add portals to rendering blacklist
- [Fabric Loader 0.16.14](https://fabricmc.net/use/installer/)
- [Fabric API 0.126.0+1.21.6](https://modrinth.com/mod/fabric-api/version/0.126.0+1.21.6)
## Features
- Upgrade to 1.21.6-pre3
- Implement culling by raycast hit check
- [Fabric Loader 0.16.13](https://fabricmc.net/use/installer/)
- [Fabric API 0.121.1+1.21.6](https://modrinth.com/mod/fabric-api/version/0.121.1+1.21.6)
## Features
- Upgrade to 25w17a
- [Fabric Loader 0.16.13](https://fabricmc.net/use/installer/)
- [Fabric API 0.120.2+1.21.6](https://modrinth.com/mod/fabric-api/version/0.120.2+1.21.6)
## Features
- Upgrade to 25a16a
- [Fabric Loader 0.16.13](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.10+1.21.6](https://modrinth.com/mod/fabric-api/version/0.119.10+1.21.6)
## Features
- Update contact information
- Add keybinding labels
- [Fabric Loader 0.16.12](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.6+1.21.5](https://modrinth.com/mod/fabric-api/version/0.119.6+1.21.5)
## Features
- Update contact information
- Add keybinding labels
- [Fabric Loader 0.16.13](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.10+1.21.6](https://modrinth.com/mod/fabric-api/version/0.119.10+1.21.6)
## Features
- Fix an issue where transparent blocks could not be added to the whitelist
- [Fabric Loader 0.16.12](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.6+1.21.5](https://modrinth.com/mod/fabric-api/version/0.119.6+1.21.5)
## Features
- Fix an issue where transparent blocks could not be added to the whitelist
- [Fabric Loader 0.16.13](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.10+1.21.6](https://modrinth.com/mod/fabric-api/version/0.119.10+1.21.6)
## Features
- Implement caching (2x faster in our testing environment)
- Implement configuration in YAML format
- [Fabric Loader 0.16.12](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.6+1.21.5](https://modrinth.com/mod/fabric-api/version/0.119.6+1.21.5)
## Features
- Implement caching (2x faster in our testing environment)
- Implement configuration in YAML format
- [Fabric Loader 0.16.13](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.10+1.21.6](https://modrinth.com/mod/fabric-api/version/0.119.10+1.21.6)
- [Fabric Loader 0.16.12](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.6+1.21.5](https://modrinth.com/mod/fabric-api/version/0.119.6+1.21.5)
- Implement culling
- Correct the method for determining the shape of a block's top surface
- [Fabric Loader 0.16.12](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.6+1.21.5](https://modrinth.com/mod/fabric-api/version/0.119.6+1.21.5)
- Correct the text size for collision checks with a non-colliding block's visuals to the proper dimensions
- [Fabric Loader 0.16.12](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.6+1.21.5](https://modrinth.com/mod/fabric-api/version/0.119.6+1.21.5)
## Features
- Text will be drawn on the ground when a non-colliding block's visuals do not interfere with the text
- [Fabric Loader 0.16.12](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.6+1.21.5](https://modrinth.com/mod/fabric-api/version/0.119.6+1.21.5)
## Features
### Block Exclusion Conditions
Excluded if:
- There is a block with a collision box in the space where the number would be displayed.
- The block below is one of the following: bedrock, barrier, command blocks.
### Block Inclusion Conditions
Included if:
- The block below is a non-solid but opaque block with a full-square top surface. Examples include top slabs and top stairs.
### Number Display Height
- If there are blocks without a collision box above, the number will be displayed above those blocks.
- [Fabric Loader 0.16.12](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.6+1.21.5](https://modrinth.com/mod/fabric-api/version/0.119.6+1.21.5)
## Features
- Implement dimension-specific color coding
- Add shadow on text
- Change the project icon
- [Fabric Loader 0.16.12](https://fabricmc.net/use/installer/)
- [Fabric API 0.119.6+1.21.5](https://modrinth.com/mod/fabric-api/version/0.119.6+1.21.5)
## Features
- Upgrade to 1.21.5