About Flashlight
Flashlight introduces a craftable tool that projects a focused cone of illumination directly in front of your character. Built around a spyglass, iron ingots, and a redstone block, the device functions as both a light emitter and a spotting scope. It comes packaged either as a standard mod or as a standalone data pack paired with an optional resource pack, running entirely on the server side so guests joining your world do not need extra setup.
Holding the item in your main hand lets you toggle the illumination on and off with a right-click. When active, trail particles trace the path of the beam across the environment, dynamically adjusting beam width based on target distance up to 100 blocks. Moving the active beam causes the server to spawn and update temporary light blocks along your line of sight. Active usage depletes durability over time until the device breaks.
This tool suits miners, spelunkers, and builders who prefer exploring dark underground networks without constantly scattering torches across stone floors. The built-in spyglass zoom makes it handy for scouting deep ravines or distant cliff faces from safe vantage points. Because the system runs on the server, administrators hosting small survival groups can provide handheld lighting to everyone without requiring friends to install complex client-side lighting engines or external shaders.
In a custom survival or adventure modpack, the item offers a balanced utility option with a tangible operating cost. Limited lifespan prevents players from leaving the beam running continuously, encouraging thoughtful battery management during expeditions. Modpack creators should keep server performance in mind, as rapidly scanning the beam places and replaces numerous light blocks, making it best matched with medium-sized packs and stable server tick rates.
Features
- Craft using four iron, one redstone block, and one spyglass on a crafting table.
- Toggle illumination on and off by right-clicking while held in your main hand.
- Projects visible particles along the beam path up to a maximum distance of 100 blocks.
- Retains spyglass functionality to allow magnification while looking through the device.
- Automatically adjusts the beam width and focus depending on the distance to targeted blocks.
- Includes distinct textures for active and inactive states when using the resource pack.
- Runs entirely on the server side so connecting players do not need the mod installed.
Tips
- Install the resource pack on your client to see custom textures for active and inactive states.
- Avoid swinging the beam around rapidly on busy servers to reduce light block placement lag.
- Turn the device off when not looking around to preserve its five-minute active lifespan in 1.21.4.
- Note that crafting in version 1.20.1 grants a knowledge book due to data pack limitations.
How to install
- Download the data pack .zip.
- Open your world folder (saves/<world>) and then the "datapacks" folder.
- Put the .zip there (or add it when creating a new world).
- Run /reload or re-open the world.
FAQ
Which loaders and Minecraft versions work with Flashlight?
The mod supports Minecraft 1.20.1 and 1.21.4 across Fabric, Forge, NeoForge, and Quilt. It can also be installed directly as a Data pack.
Do players need to install Flashlight on their game client to join a server?
No, Flashlight is required on the server side and optional on the client. Connecting players can join without it, though the resource pack is needed to view the custom item model.
Are there any required dependencies to run the mod?
No external mods are required. In version 1.21.4, the necessary dynamic lights data pack by CreepermeYT is already embedded inside the file.



