
Modrinth · Minecraft mod
TorchOK
Automatically places a torch from inventory whenever the area around is too dark
Quick answer
Which TorchOK release should I use?
TorchOK 2.0.0 targets 26.1.1, 26.1.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 2 required mods have matching files.
Where it goes
Is TorchOK 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 TorchOK 2.0.0 need?
2.0.0. Change the file and its required mods may change too.
Install MidnightLib, Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.
1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add TorchOK without breaking your instance.
Built for TorchOK 2.0.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2.0.0. It targets 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install MidnightLib, Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.
- 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 2.0.0. It opens that exact file at the source.
About this project
What does TorchOK add?
Automatically places a torch from inventory whenever the area around is too dark.
How to Use It
- The mod works automatically as soon as you install it
- When it gets too dark, it will take a torch from any slot in your inventory and place it for you
- You don’t need to do anything!
Client Configuration
In ModMenu you can configure light treshold. By default it is set to 4.
You can enable and disable autoplacement. There is also a key bind for that — Right Control.
Server Configuration
The mod works perfectly without any extra setup.
But if you want to customize it, create a file config/torchok.server.json with the following content:
{
"torches": ["minecraft:torch", "minecraft:soul_torch", "minecraft:copper_torch"],
"placeTimeout": 150
}
What these settings mean:
torches— the list of torches the mod is allowed to place.
You can add or remove torches here (for example, you can add modded torches).placeTimeout: — this is the minimum time (in milliseconds) between placing two torches. It prevents the mod from spamming torches too quickly.
150 ms = 0.15 seconds — you usually don’t need to change this
Project description from Modrinth.
Pick your setup
TorchOK by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.2
1 loader build26.1.1
1 loader build1.21.1
1 loader build1.21
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
TorchOK versions and loaders
2.0.0
torchok-2.0.0.jar
5 Apr 2026
1.0.0
torchok-1.0.0.jar
10 Aug 2024
1.0.0
torchok-1.0.0.jar
26 Jun 2024
Looking for an older file? The official Modrinth project page is in Resources.