
Modrinth · Minecraft mod
Energy Flashlight
Darkness in caves? Need to light the way forward? Use redstone as energy for your new flashlight!
Quick answer
Which Energy Flashlight release should I use?
Energy Flashlight 1.0.0 targets 26.3 with minecraft. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Energy Flashlight required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Energy Flashlight 1.0.0 need?
1.0.0. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Energy Flashlight without breaking your instance.
Built for Energy Flashlight 1.0.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.0. It targets 26.3 with minecraft; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.
About this project
What does Energy Flashlight add?
📖 About
This datapack adds a flashlight that casts light across the entire beam path.
Important information:
- In order for light to logically pass through incomplete blocks (slabs for example), you need to install the MIDWUT(click) library datapack;
- Help with translation into other languages is welcome, currently only available: Russian, English and pre-reformation Russian.
Features:
- Using redstone dust as energy;
- Real lighting using light blocks;
- Charge reduction even if the flashlight is not in your hand;
- The flashlight shines 20 blocks ahead, covering the entire beam path.
The player can craft a flashlight or give using a function /function energy_flashlight:give/flashlight
- The player will receive a recipe if he receives a redstone lamp or redstone dust.
- Recipe visualization on the misode generator website: Click
Instructions for charging a flashlight will always be in the description of the flashlight at zero energy, but I'll repeat it here: the player must hold the flashlight in the main hand, the redstone dust in the off hand, sneak and use the flashlight.
The maximum possible charge for a flashlight is 10 redstone dusts, each redstone dust adds 6 minutes of real-time operation, as a result, the flashlight can be charged for 1 hour. If the flashlight is on, the energy is used up and the next time you pick it up, the battery status will be updated, if more than an hour has passed, the flashlight will turn off immediately. This is achieved by storing the gametime in an item, and when the player holds a flashlight, the datapack compares the saved time with the current one.
🧩 Add-ons & Technical info
Custom light beams
If you want to add custom light beam, you can do it, but first you need to know: the datapack tick function runs on a 2-tick schedule for optimization, so I added the #energy_flashlight:tick functions tag. You can add your own functions for the spawn light beam to this tag.
Why is this necessary?
1) To optimize the light sources so that their life is handled only in this datapack;
2) To avoid bugs, the life of light sources must be processed after they are spawned and updated.
So, to spawn a light beam, you need to set its length and run the function.
The length is measured in 0.5 blocks, that is, the length of the raycast 10 is equal to (<=)5 blocks.
# The base length is 20 blocks.
scoreboard players set #raycast main_score 40
execute anchored eyes positioned ^ ^ ^ run function energy_flashlight:other/raycast/loop
Custom charging item
The charging flashlight always accepts only vanilla redstone dust without any custom components, but if you add the energy_flashlight.energy_for_flashlight:true nbt tag to the minecraft:custom_data component, then this item can be used as a charger.
🔗 Links
You can leave a comment on the PMC page!
Russian discord server of datapackers / Русский дискорд сервер датапакеров
Если вы датапакер, ищите адекватной помощи, полезных ресурсов и возможности поделиться проектами, то вам на СвинСоюз: Датапаки!
Это сервер-ответвление от изначального заброшенного сервера ZeroCaty "СвинСоюз". Сейчас мы не имеем к нему никакого отношения.
Project description from Modrinth.
Pick your setup
Energy Flashlight by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
4 loader builds1.21.11
4 loader builds1.21.10
4 loader builds1.21.9
4 loader builds1.21.8
4 loader builds1.21.7
4 loader builds1.21.6
4 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Energy Flashlight versions and loaders
1.0.0
Energy-FlashLight_RP_v1-0-0_26-3.zip
26 Oct 2026
1.0.1
Energy-Flashlight_DP_v1-0-1_26-3.zip
26 Oct 2026
1.0.1+mod
energy-flashlight-1.0.1.jar
26 Oct 2026
1.0.1
Energy-Flashlight_v1-0-1_26-2.jar
26 Jun 2026
1.0.0
Energy-FlashLight_RP_v1-0-0_26-2.zip
25 Jun 2026
1.0.1
Energy-Flashlight_DP_v1-0-1_26-2.zip
25 Jun 2026
1.0.0+mod
energy-flashlight-1.0.0.jar
13 Jan 2026
1.0.0
Energy-Flashlight_DP_v1-0-0_1-21-11.zip
13 Jan 2026
1.0.0+mod
energy-flashlight-1.0.0.jar
28 Sept 2025
1.0.0
Energy-Flashlight_DP_v1-0-0_1-21-8.zip
25 Sept 2025
Looking for an older file? The official Modrinth project page is in Resources.

