Torch Optimizer
Mod Description
The Torch Optimizer mod displays numerical light level values on block surfaces, making it much easier to place torches and other light sources for maximum protection against hostile mob spawning.
Usage Instructions
To activate light level display, use the F7 key (assignment can be changed in control settings). The Shift + F7 combination toggles natural light calculation, while Ctrl + F7 controls overlay display in versions 1.12.2 and below.
In versions up to 1.12.2-2.0.4:
- , (comma) key increases optimal torch position by one
- . (period) key decreases optimal torch position by one
In versions 1.12.2-2.1.5 and newer:
- [ (left bracket) key increases optimal torch position by one
- ] (right bracket) key decreases optimal torch position by one
Main Features
When the optimizeEnable option is enabled in configuration, a star-shaped marker appears on the ground at position number 2. The marker position can be adjusted in the range from 0 to 15 for different light sources.
Demonstration
Licensing
The project is a derivative work of the Light level Overlay Reloaded mod by oldjunyi, which is also distributed under the MIT license. Source code is available at: https://github.com/4poc/lloverlay
Light Level Overlay is licensed under the 3-clause BSD license. Copyright (c) 2012-2013, Matthias HeckerAll rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the author nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Modpack Usage
The mod can be freely added to any modpacks. Providing a link to the original is appreciated but not required.