
Shadow Nametag Fix
Removes the duplicate "ghost" nametag that shaders draw, by skipping nametag rendering during Iris's shadow pass. Works with any shaderpack and keeps your shadow.
Screenshots

About this Mod
Shadow Nametag Fix
Ever seen a rotated, duplicated nametag floating in the air when playing with shaders? This tiny client-side mod removes it.
The problem
With Iris shaders (Complementary Reimagined, Euphoria Patches, BSL, and many others), the game renders entities — including their nametags — during the shadow pass, from the sun's point of view. Effects like light shafts then project that shadow buffer back onto your screen, dragging the nametag along as a rotated "ghost" copy next to the real one.
The common workaround is to disable the player shadow (PLAYER_SHADOW=-1) in each shaderpack's settings — but that has to be redone for every pack and every update, and you lose your shadow.
What this mod does
Shadow Nametag Fix simply skips nametag rendering while Iris is drawing the shadow pass. The nametag never enters the shadow buffer, so there's nothing to project — the ghost is gone.
- ✅ Works with any shaderpack — no per-pack settings to maintain
- ✅ Survives shaderpack switches and updates
- ✅ Keeps your shadow — only the nametag is skipped, not the player
- ✅ Does nothing when shaders are off — fully vanilla behavior
- ✅ Lightweight: a single Mixin, no config, no extra dependencies
Compatibility
- Minecraft: 1.20.1
- Loader: Fabric
- Iris: optional. The mod finds Iris by reflection, so it doesn't require Iris to be installed and won't break if Iris updates.
- Client-side only — not needed on the server.
How it works (technical)
A Mixin injects into EntityRenderer#renderLabelIfPresent and cancels it whenever ShadowRenderingState.areShadowsCurrentlyBeingRendered() reports the shadow pass is active. Iris is accessed reflectively, so there's no hard compile-time dependency.
License
MIT — do whatever you like, including bundling it in modpacks.
Available Versions
How to Install Shadow Nametag Fix on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.6).
Install Mod
Open the mod browser in the dashboard and search for "Shadow Nametag Fix". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.6, 1.20.5, 1.20.4 (+3 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Shadow Nametag Fix server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.
Is Shadow Nametag Fix compatible with fabric?
Shadow Nametag Fix officially supports fabric for Minecraft 1.20.6, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Shadow Nametag Fix – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Shadow Nametag Fix consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Rent Modded Server
Install Shadow Nametag Fix with just one click on your server.