Compatibility
Minecraft: Java Edition
1.21.8
1.21.1
Platforms
Supported environments
Client and server
Tags
Creators
Details
Licensed MIT
Published 6 days ago
🛡️ Pocket Totem — Passive Immortality!
Have you ever lost all your netherite gear in lava just because you forgot to put the Totem of Undying in your off-hand? Or are you tired of constantly sacrificing your shield just to stay safe? Pocket Totem solves this problem once and for all!
This lightweight, Vanilla+ mod unlocks the true passive magic of the totem, allowing it to protect your life directly from the depths of your backpack.
✨ Key Features
- 🧳 Pocket Salvation — The totem automatically triggers from absolutely any slot in your player inventory.
- ⚔️ Total Off-Hand Freedom — Free up your hands! Safely carry shields, torches, maps, or dual-wield weapons while remaining fully protected.
- 🔮 100% Vanilla Sync — No stripped mechanics. Upon activation, it triggers the original full-screen golden flash animation, vanilla status effects, and sounds.
- 🏆 Advancement Supported — Unlike poorly optimized scripts, this custom code hooks perfectly into the game server to award you the official "Postmortal" advancement.
⚙️ Smart Anti-Bug Logic (How It Works)
We made sure the mod runs flawlessly without breaking any vanilla mechanics or causing item dupe bugs:
- Hand Priority: If you are holding a totem in your main or off-hand, standard Minecraft code takes over. The inventory scan only triggers if your hands are busy. This 100% prevents the "double-spending" bug where one hit could accidentally consume two totems.
- Ultimate Optimization: The code caches the inventory size and triggers only at the microsecond of death. It does not run on every game tick, ensuring zero impact on server performance or FPS.
🚀 Setup & Environment
⚠️ IMPORTANT: This is a hybrid mod (Side: BOTH). It must be installed on both the server and the client. The client handles the screen flash rendering, while the server securely cancels the death event and updates the inventory slots.
- Mod Loader: NeoForge
- Supported Versions: 1.21.4 - 1.21.8+


