Here's a similar mod which instead creates a new enchantment which, when put on your helmet, hides your player tag.
How to use
Simply upload the datapack and the tag of any player who is wearing a leather cap will disappear, taking it off would make your tag visible again.
see here for how to install datapacks.
Both a datapack and a mod, download Cloaker
How to Install Cloaker (Datapack)
Cloaker by MaxMasterCoder is verified for Datapack, Fabric, Forge, Quilt across Minecraft versions 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2 (latest release: 2.0.0+mod, file size: 654 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2) and platform (Datapack, Fabric, Forge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Quilt.
- Move the downloaded Cloaker file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.
All Versions
+ Add Version### Only hides you if you previously weren't hidden and vice versa
### Only hides you if you previously weren't hidden and vice versa
### Only hides you if you previously weren't hidden and vice versa
### Only hides you if you previously weren't hidden and vice versa
### Only hides you if you previously weren't hidden and vice versa
### Only hides you if you previously weren't hidden and vice versa
### Only hides you if you previously weren't hidden and vice versa
### Only hides you if you previously weren't hidden and vice versa
Hides you player tag if you're wearing a leather cap
Hides you player tag if you're wearing a leather cap
Hides you player tag if you're wearing a leather cap
Hides player tag if wearing leather cap
Hides player tag if wearing leather cap