This Minecraft mod visualizes the light levels emitted by torches, glowstone and alike directly on top of blocks, this is helpful to quickly identify areas where mobs can spawn. It shows the light level of the airblock above the block the number is drawn onto, this is the block that is considered for mob spawning, light level 7 or below allows mobs to spawn.
Press F9 (customizable) to toggle the overlay.
Press Shift + F9 (customizable) to open a configuration GUI. (since v0.23)
- Version 0.23 for Minecraft 1.6.4 (Forge)
- Version 0.23 for Minecraft 1.6.4 (Vanilla)
- Version 0.18 for Minecraft 1.6.2 (Forge)
- Version 0.18 for Minecraft 1.6.2 (Vanilla)
Current development builds can be obtained directly from my jenkins build server.
This is not the only mod that does this sort of thing, you might also want to checkout these other mods that do similar things
- Zombes Modpack (as part of safe aka Critter Spawn Highlighter)
- Not Enough Items (NEI) by chicken_bones (press F7 to toggle lines that indicate spawnable area, configurable by moboverlay in config/NEI.cfg)
- Whats my light level by iPeer
- Hostile Spawn Overlay by KaboPC
You must use the Forge version if you want to use this together with other mods, like optifine. Forge allows it to write minecraft mods that are compatible with each other, even when they modify the same part of minecraft. In case of this mod, the rendering is modified and therefore ordinarily incompatible with any other mod that also effects rendering (like optifine). Forge allows compatibility because it provides the necessary code (the RenderWorldLast event) to make it compatible. I don't provide a ModLoader version because ModLoader doesn't have this or an equivalent functionality, fortunately forge is compatible with ModLoader mods.
- If not already: Download and install forge using the installer.
- Copy the lloverlay_*-forge.zip file to your ~/.minecraft/mods/ or %appdata%/.minecraft/mods directory.
Vanilla means an unmodified minecraft version. This does not work with optifine for instance, because it also modifies a class file. The new vanilla launcher (since 1.6) allows you to easily switch between different versions. If you use the vanilla launcher, I would recommend creating a new version (with the mod installed) that you can then assign to an extra profile, that would allow you to switch between vanilla/modded:
- First locate your versions directory in ~/.minecraft/versions or %appdata%/.minecraft/versions.
There should be a 1.6.1 directory with the latest version.
- Copy the 1.6.1 directory to 1.6.1-lloverlay or something, this will be the new name of the version.
- Now you need to rename all files in the 1.6.1-lloverlay directory to match the version name. Rename all 1.6.1-lloverlay/1.6.1* to 1.6.1-lloverlay/1.6.1-lloverlay*.
- You also need to change the version name in the 1.6.1-lloverlay/1.6.1-lloverlay.json file. Open the json file with an editor (vi/emacs/notepad) and change the line
- Now to actually install the mod you need to replace the contents of the jar file with the mod contents.
Unpack the (renamed) 1.6.1-lloverlay.jar file someplace.
- Remove the META-INF folder from the extracted files.
- Unpack the lloverlay_*.zip file within, override anything.
- Pack the folder again in a zip file named 1.6.1-lloverlay.jar
- and replace it with the /versions/1.6.1-lloverlay/1.6.1-lloverlay.jar file.
- Now you can start the launcher and configure your profiles, thats quite easy to do, the 1.6.1-lloverlay version should appear under the "Use version" dropdown in the profile editor. You can also create a new profile and assign it the -lloverlay version.
Since v0.23 you can just use the GUI (open with Shift+F9) to change the settings!
After you played with lloverlay the first time a ~/.minecraft/config/lloverlay.properties file is created with all default configuration options:
- hotkey: keycode that toggles the overlay (list of possible values)
- debug: activates debug messages
- renderChunks: distance in chunks in each direction the overlays are drawn, decrease if you run into performance problems
- textureRow: the textures provided (lightlevel.png) can include multiple "styles" or themes, here you can select which row should be drawn (0 = first row, 1 = second row, ...). Each block texture is 16x16 pixel. Feel free to add your own styles and sent it to me I might include them in the next version! See all 3 currently included ones here.
- generateInterval: the interval in milliseconds (250 = 1/4 second) in which the lightlevel data are gathered (if you place a torch its at least 250 ms till the overlays are updated), increase if you run into performance problems
- showLightlevelUpto: you can set the level up-to the overlay should be drawn.
- drawNonSpawnable: if set to true draw the lightlevel on halfslabs/farmland/glass where mobs can't spawn. Is currently unused (as of >v0.16)
- useSkyLightlevel: set to true for light levels effected by daylight (all surface blocks 15 light level, unfortunately currently also at night times)
- renderer: renderer to use, can be set to "auto" (default), "fast" or "vanilla"
- added a settings GUI:
- remove hotkey R for reload, there is now a button for that in the settings GUI
- removed config option renderDistance, replaced with renderChunks (same but in chunks instead of blocks)
- bugfixes: properly render at y=0, fix blending in vanilla
- updated for latest minecraft 1.6.4
- new faster renderer using VBOs + old original vanilla (see "renderer" config option)
- updated for latest forge version (188.8.131.529)
- fixes a bug with the new per chunk overlay collector, that caused (silent) crashes at low levels
- nonSpawnable is deprecated as of now, levels are always shown on any surface (this will change somewhat in the future when the indication spawnable/nonspawnable is properly separated)
- draw overlays on leaves
- (bugfix!) show correct block light level instead of two above blocks
- (bugfix!) revert some rendering changes
- (bugfix!) draw overlay below torches/etc. again
- Update for 1.6.2
- The light levels are now gathered in a thread.
- Rendering code separated.
I need to optimize this more, but its a good start I think.
- hotkey deactivated if in ingame menu
- Updated MCP & Forge
- Update for 1.6.1
- Update for 1.5.2
- Change config location to minecraft/config/lloverlay.properties
- Update for 1.5.1
- Update for 1.4.6
- Update for 1.4.4
- Press F9(or customized hotkey)+R to reload the configuration file
- New config option: drawNonSpawnable, if set to true draw the lightlevel on halfslabs/farmland/glass where mobs can't spawn
- Replaced the showIlluminated option for showLightlevelUpto, you can set the level up-to the overlay should be drawn.
- New config option: useSkyLightlevel, set to true for light levels effected by daylight (all surface blocks 15 light level, unfortunately currently also at night times)
- Update for Preview 1.4
- Update for 1.3.2
- *I added a forge version with this release: This is for a beta version of forge but I thought I release it anyways, I think Optifine is not yet compatible with it through. I encountered a bug with this version where the light level isn't drawn on-top of wood half-slabs I will try to fix this for the next version however.
- Render on-top of snow toppings.
- Another small optimization in cache generation
- Draw overlay on all mob-spawnable blocks. (as pointed out by Mochnant, thanks)
- New configuration option showIlluminated allows to hide the overlay on well-lit blocks.
- Small changes in texture file. See all 3 currently included ones here.
- Optimization mostly in cache generation (simplified the algorithm that selects the blocks to draw onto)
- As suggested by zfz the texture file now contain textures that only show a red square in the middle of blocks, where mobs are capable of spawning, to activate this set textureRow to 1.