
TotemOverlay
Client-side Fabric mod for Minecraft 1.21.1 (compatible with 1.21.4) using Java 24. Detect when the player’s Totem of Undying activates and instantly display...
00—fabricClient1.21.1mod
TotemOverlay
- Client-side Fabric mod for 1.21.1+ that flashes a semi-transparent full-screen tint the instant your own Totem of Undying activates, then fades it out over a short window.
- Detection hooks the client network handler for the vanilla
USE_TOTEM_OF_UNDYINGentity status on the local player and starts an overlay timer; drawing happens viaHudRenderCallbackevery frame. - A config file (
config/totemoverlay.json) is created automatically with fieldsoverlayColor(#RRGGBB),overlayOpacity(0.0-1.0), andoverlayDurationTicks; edit to adjust the tint hue, transparency, and on-screen duration. - Built with a Java 24 toolchain but targeting Java 21 bytecode for runtime compatibility with current Minecraft releases.
- Current constraints: the overlay only triggers for your own totem pops, and config changes require a game restart/reload to take effect. Future improvements could add smoother easing curves or an in-game configuration screen.