Skip to content

Repository files navigation

InvisTags by CoderSoft

A client-side Fabric mod that forces nametags and player skins of invisible players to render at full opacity. All features are toggleable at runtime via the /invis command.

Built for Minecraft 1.20.4, 1.21.11, 26.1.2, and 26.2.

Features

  • Nametag visibility — Forces nametags to render above invisible players regardless of render distance or status effects.
  • Full nametag opacity — Restores the nametag background and text to 100% opacity (bypasses the transparency applied by the invisibility effect).
  • Skin visibility — Renders the player body/skin at full opacity instead of the ghostly semi-transparent effect.
  • Sneaking fix — Corrects the sneaking pose for invisible players when the nametag is forced visible.
  • Runtime toggling — All features can be enabled/disabled mid-game without restarting.

Requirements

Dependency1.20.41.21.1126.1.226.2
Minecraft1.20.41.21.1126.1.226.2
Fabric Loader>=0.19.3>=0.19.3>=0.19.3>=0.19.3
Fabric API0.107.0+1.20.40.141.4+1.21.110.152.1+26.1.20.152.2+26.2
Java (JDK)21212525

Version Branches

BranchMC VersionNotes
1.20.41.20.4Entity-based rendering (no render states), Fabric Loom
main1.21.11Render-state-based, Fabric Loom
26.126.1.2Avatar API, unobfuscated mappings, Fabric Loom
2626.2Avatar API, unobfuscated mappings, Fabric Loom

Building from Source

1. Clone the Repository

git clone https://github.com/Coder-soft/Invistags.git
cd Invistags

2. Switch to the Desired Version Branch

git checkout 1.20.4 # MC 1.20.4
git checkout main # MC 1.21.11 (default)
git checkout 26.1 # MC 26.1.2
git checkout 26 # MC 26.2

3. Build the Mod

Linux / macOS:

./gradlew build

Windows:

gradlew.bat build

The first build will download Gradle, Minecraft assets, and all dependencies.

4. Locate the Build Artifact

build/libs/invistags-1.0-SNAPSHOT.jar

Installation

1. Install Fabric Loader

Download and run the Fabric installer from fabricmc.net/use. Select your target Minecraft version and Client.

2. Install Fabric API

Download the matching Fabric API version from Modrinth or CurseForge.

3. Install InvisTags

Copy the built JAR to your Minecraft mods folder:

Linux / macOS:

cp build/libs/invistags-1.0-SNAPSHOT.jar ~/.minecraft/mods/

Windows:

copy build\libs\invistags-1.0-SNAPSHOT.jar %appdata%\.minecraft\mods\

Your mods folder should contain at minimum:

mods/
├── fabric-api-<version>.jar
└── invistags-1.0-SNAPSHOT.jar

4. Launch

Start the Fabric profile in the Minecraft launcher. Verify the mod loaded by checking the Mods menu — look for Invistags.

Usage

Use the /invis command in-game:

CommandEffect
/invisShows current toggle state of both features
/invis skin trueEnables rendering of invisible players' skins at full opacity
/invis skin falseDisables skin override (reverts to vanilla behavior)
/invis nametag trueEnables rendering of invisible players' nametags
/invis nametag falseDisables nametag override (reverts to vanilla behavior)

Both features default to enabled on first launch.

API Differences Between Versions

The 26.x branches use a significantly different rendering API (unobfuscated Mojang mappings):

1.21.x26.x
PlayerEntityRendererAvatarRenderer
PlayerEntityRenderStateAvatarRenderState
OrderedRenderCommandQueueSubmitNodeCollector
render()submit()
renderLabelIfPresent()submitNameDisplay()
hasLabel()shouldShowName()
ClientCommandManagerClientCommands
state.invisiblestate.isInvisible / state.isInvisibleToPlayer
state.sneakingstate.isCrouching
CameraRenderState (top-level)state.level.CameraRenderState

Project Structure

src/
├── main/
│ ├── java/org/codersoft/cleaspfabric/
│ │ ├── Cleaspfabric.java — Mod entrypoint (ModInitializer)
│ │ └── ...
│ └── resources/
│ ├── fabric.mod.json — Mod metadata
│ ├── cleaspfabric.mixins.json — Main source set mixins (reserved)
│ └── assets/invistags/icon.png — Mod icon
└── client/
├── java/org/codersoft/cleaspfabric/
│ ├── client/
│ │ ├── CleaspfabricClient.java — Client entrypoint, /invis command
│ │ ├── CleaspfabricDataGenerator.java
│ │ └── ModConfig.java — Toggle state
│ └── mixin/client/
│ ├── EntityRendererMixin.java — Forces shouldShowName() to true
│ ├── InvisibilityRenderMixin.java— Restores skin opacity
│ ├── LabelRenderMixin.java — Restores nametag opacity
│ └── LabelSneakMixin.java — Fixes sneaking pose
└── resources/
└── cleaspfabric.client.mixins.json — Client mixin registration

Development

Open the project in IntelliJ IDEA or Eclipse:

# IntelliJ: File → Open → select project folder# Eclipse: File → Import → Gradle → Existing Gradle Project

To generate an IntelliJ IDEA project from scratch:

./gradlew idea

License

All Rights Reserved. See LICENSE.txt.

Copyright (c) 2026 CoderSoft.

About

Makes invisible players appear by showing their skin and nametags

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages