Slab Light is a small Fabric mod that changes how light interacts with slabs and stairs in Java to match Bedrock behavior.
In vanilla Java, slabs and stairs have directional light opacity - their solid faces block light from passing through. For example, a torch placed below a bottom slab won't light up the space above it, because the slab's solid bottom face blocks upward light propagation.
In Bedrock, slabs and stairs don't block light at all - light passes freely through them in every direction.
This mod removes that directional restriction for single slabs and stairs, so light behaves the same way it does on Bedrock. Double slabs (full blocks) are unaffected.
Here's what's new in 1.2.0: Three new commands (require op level 2):
/slablight on — enables the mod, relights chunks around all online players
/slablight off — disables the mod, relights to restore vanilla lighting
/slablight status — shows whether it's currently on or off
Requires Fabric API.
Known Issues:
Removing the mod from an existing world will not revert lighting on already-built structures — light values are baked into the world save by Minecraft. Only newly placed blocks will revert to vanilla Java behaviour.
If you want to support my work:
https://account.venmo.com/u/lefthandedleaf https://buymeacoffee.com/lefthandedleaf
External resources
Project members

lefthandedleaf
Member

