Page title: Door Light Blocker — Realistic Light for Minecraft Doors

Door Light Blocker makes closed doors block light in Minecraft, so rooms stay properly dark. Download it for Fabric 1.21.11 and fix light leaks today.

Door Light Blocker

Few things break immersion in a build faster than a closed door that still glows with sunlight. In vanilla Minecraft, doors are effectively transparent to the lighting engine, which means light leaks straight through them no matter how firmly you shut them. Door Light Blocker is a small Fabric mod that fixes this oversight, making closed doors behave like solid blocks for lighting purposes while leaving open doors exactly as they should be.

What Door Light Blocker Actually Changes

The concept is simple but the effect is dramatic. When a door is closed, the mod tells the lighting engine to treat it like a solid block, so sunlight, torch light, and other light sources no longer bleed through into the room behind it. When you open the door, light passes through as usual. The change applies to every vanilla door type, including the newer copper doors, so you do not have to worry about which material you built with.

It is worth knowing what the mod does not touch. Trapdoors and fence gates are unaffected, so if you rely on those for light control you will need to plan around them. Mods that completely replace the lighting engine or add large light overhauls have not been tested alongside it, so keep that in mind if your modpack leans heavily on rendering changes.

Performance and Light Updates

Light values are computed once at startup, which means there is no per-tick cost at all. Opening or closing a door triggers a single local light update, so the mod stays essentially free in terms of performance. You will not notice it in your frame times even on a busy server.

Supported Versions and Loader

Door Light Blocker for Minecraft currently targets Minecraft 1.21.11 on Fabric, and it requires Fabric Loader 0.19.5 or newer along with Fabric API. Mod Menu and YACL (YetAnotherConfigLib) are optional but recommended if you want to tweak settings without editing files by hand.

How to Install Door Light Blocker

Installation follows the usual Fabric routine, with one important catch. The mod changes how light is calculated, so it must be present on both the server and every player's client. If only one side has it, you will see lighting glitches.

  • Make sure Fabric Loader 0.19.5 or newer is installed for Minecraft 1.21.11.
  • Place Fabric API in your mods folder.
  • Add the Door Light Blocker jar to the mods folder on your client and on the server.
  • Optionally add Mod Menu and YACL for an in-game config screen.
  • Launch the game and confirm the mod loads on both sides.

If you want a smoother path, the foxygame.net launcher bundles Door Light Blocker in its add-on catalog, so you can add it with a single click and let the launcher keep it updated as new Minecraft versions arrive.

Configuring Light Blocking Values

Out of the box the mod works with no setup at all, but tinkerers can fine-tune it. Open config/door_light_blocker.json to choose how much light a closed door blocks, on a scale from 0 to 15. You can set a default value that applies to every door, then add optional overrides per group (wooden, copper, iron, other) or per individual door. Per-door overrides beat group overrides, which beat the default, and anything you leave unset simply inherits from the level above.

With Mod Menu and YACL installed, you can do the same from an in-game screen: go to Mods, select Door Light Blocker, and hit the config button. Saving from that screen applies instantly in singleplayer without a restart, though a server needs to be restarted. Light around a door only refreshes when it is opened or closed, so toggle your doors after changing values to see the results. Remember that the client and server must use identical configs.

Final Thoughts

Door Light Blocker is one of those quiet quality-of-life mods that you notice most when it is gone. If you care about atmosphere in your builds, whether that is a moody dungeon, a cozy cabin, or a secret vault that should stay pitch black, this mod delivers exactly what its name promises. Download Door Light Blocker, drop it on both sides of your setup, and enjoy rooms that finally go dark when the door swings shut.