Back to mods
TorchOK project artwork

Modrinth · Minecraft mod

TorchOK

Automatically places a torch from inventory whenever the area around is too dark

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which TorchOK release should I use?

Updated 7 months ago
Latest stable file 2.0.0
Game version 26.1.1, 26.1.2
Loader Fabric

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.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.

All 2 required mods have matching files

Install MidnightLib, Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

3 listed on this file 1 pulled in by one of those mods
MidnightLib Needed by TorchOK 2.0.0
required
Matching file found Matched file: 1.9.2+26.1-fabric
Mod Menu Optional for TorchOK 2.0.0
optional
Matching file found Matched file: 18.0.2
Fabric API Needed by TorchOK 2.0.0
required
Matching file found Matched file: 0.155.3+26.1.2

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.

  1. 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.

  2. 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.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 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.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

TorchOK versions and loaders

3 of 3 releases match

Looking for an older file? The official Modrinth project page is in Resources.