Description
Any Item Totem gives every player a totem-like second chance without needing a Totem of Undying. If you would die while holding an item, you survive, and the held item loses 1.
How it works
Hold any item in your main hand or offhand (vanilla or from other add-ons).
On a lethal hit: you survive with half a heart, effects are cleared, and you get Regeneration II (45s), Absorption II (5s) and Fire Resistance (40s), with totem particles and sound.
A real Totem of Undying in either hand works as normal (vanilla takes priority).
Locked items (can't be dropped or lost, or keep-on-death) never trigger it, so items like bags can't be used for infinite saves.
Creative and Spectator are unaffected.
Compatibility
Minecraft Bedrock 1.26.40 and above
No cheats and no Beta APIs needed, and achievements stay enabled (add-on flag set)
Achievements
Works: 1.26.40 and 1.26.60
1.26.50 has a Minecraft bug that blocks achievements with any add-on; Mojang fixed it in 1.26.60. This is not caused by this pack.
Limitations & Drawbacks
No floating totem animation on screen. Totem particles and sound are used instead.
The held item loses 1 every time it saves you.
Some damage types may not be preventable, such as /kill or falling into the void.
Items from other add-ons that restore themselves through scripts, without being set as locked or keep-on-death, may still be usable repeatedly.
The held item is consumed even if it is valuable, so be careful what you hold.

