← Назад к ресурсам

TorchOK

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

Modrinth utility

Описание

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](https://modrinth.com/mod/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: ```json { "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