HomeJavaModsNo Light place
No Light place
ModsJava

No Light place

Prevents accidentally placing torches, lanterns and lamps from your offhand — toggled with a single key press.

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21.9–1.21.11⬇ Download for 1.21.2–1.21.8⬇ Download for 1.21–1.21.1⬇ Download for 1.20.1–1.20.6
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
No Light place — screenshot 1No Light place — screenshot 2No Light place — screenshot 3No Light place — screenshot 4

🕯️ Picture this: you're three hours into a strip mine. Block in the main hand, torch in the offhand. You hold right-click to lay down a wall and — congratulations — you just wallpapered the entire tunnel in torches like it's a Christmas tree. Sound familiar? NoLightPlace exists to kill that exact muscle-memory accident.

NoLightPlace is a tiny client-side-only mod for Fabric. It prevents you from placing light sources while holding them in your off-hand. No more accidentally placed torches or having to pick dozens of them up off the floor—just neat, clean tunnels.


⚡ What it does


🎮 How the toggle behaves

The whole point is surgical precision: it only ever cancels offhand + light + locked. Everything else is untouched.

🔒 Lock state 🤚 Offhand item ✊ Main hand 🖱️ Right-click result
OFF torch dirt both place normally (vanilla)
ON torch dirt dirt places ✅ · torch is blocked 🛑
ON dirt pickaxe dirt places ✅ (offhand dirt isn't a light)
ON steak sword steak eats ✅ (food isn't a light)
OFF lantern cobble both place normally (vanilla)

Notice the pattern: the mod only says "no" when all three line up — offhand, locked, and a light source. Miss any one, and Minecraft does its normal thing.


🧱 What gets blocked

Only the obvious light sources. Blocks, tools, food, buckets — all ignored.

Category Items
🔥 Torches Torch · Soul Torch · Redstone Torch
💡 Lanterns Lantern · Soul Lantern

⚠️ The list is vanilla-only right now. Torches/lanterns from other mods aren't blocked yet — if you want a specific one added, open an issue and I'll throw it in.


🛠 Under the hood

Curious what "blocking" actually looks like in code? The entire decision is this short — the mod literally just asks three questions and bails out the moment any answer is "no":

if (hand != Hand.OFF_HAND)         return PASS;  // main hand? never touch it
if (!isLocked)                     return PASS;  // toggle off? pure vanilla
if (!LIGHT_SOURCES.contains(item)) return PASS;  // not a torch/lantern/lamp? ignore

return FAIL;  // offhand + locked + light → cancel the placement

That's it. No mixins into placement logic, no server round-trips — just two Fabric events (UseBlockCallback / UseItemCallback) returning FAIL when the stars align. Lightweight by design.


📦 Installation

  1. Install Fabric Loader for Minecraft
  2. Drop Fabric API into your mods/ folder
  3. Drop nolightplace into the same mods/ folder
  4. Launch the game — that's it. ✅

🧩 Client-only. The server does not need this mod. It works on any server (vanilla, Paper, modded) without anyone installing anything.


❓ FAQ

Does it work on multiplayer / servers?

Yes. It's purely client-side — install it on your client and it just works, no server mod required.

Can I change the key?

Yes. Options → Controls → Key Binds → NoLightPlace. Rebind it to whatever feels right; no restart needed.

Will it ever block my main hand?

No. By design the main hand is completely ignored. Only the offhand, only when locked, only light sources.

Does it block blocks / food / buckets in the offhand?

No. Only the light sources listed above. Your offhand dirt, steak and water bucket keep working exactly as before.

Why a toggle and not "hold to block"?

Because you set it once at the start of a mining trip and forget about it. Holding a key while also holding right-click is exactly the kind of awkwardness this mod is meant to remove.


🔗 Links & contact


If NoLightPlace saved your tunnel from a torch infestation, a ❤️ and a follow mean the world. 🕯️
Found a bug or want a modded torch added? Open an issue — I actually read them.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more