Totem Before PlayerRevive is a lightweight server-authoritative compatibility mod for Forge 1.20.1 that makes totems activate before PlayerRevive downs the player.
PlayerRevive is great for multiplayer survival, but in some setups it can make Totems of Undying and custom totems feel useless because the player enters the downed/revive state before the totem gets a chance to save them. This mod fixes that behavior.
If a player takes lethal damage and has a valid totem in their offhand, main hand, or inventory, the totem activates first. If no valid totem is found, PlayerRevive works normally.

Makes totems activate before PlayerRevive
Works with totems in offhand, main hand, or inventory
Supports vanilla Totems of Undying
Supports Affordable Totems
Supports configurable custom totems by item ID
Supports multi-use totems with configurable charges
Built-in support for Netherite Extras’ Totem of Neverdying
Server-authoritative behavior
Dedicated server safe
Clients do not need the mod when installed on a dedicated server
No client screens, keybinds, rendering, or networking required
minecraft:totem_of_undying
affordabletotems:iron_totem
netheriteextras:totem_of_neverdying
Netherite Extras’ Totem of Neverdying is configured as a 4-use totem by default.
This mod only needs to be installed on the side that owns the world/server logic.
Install it on:
Dedicated server
LAN host
Essential host
Players joining the server do not need to install it, unless they are the host.
The mod includes a common config file where you can add more custom totems.
Example:
allowedTotemIds = ["minecraft:totem_of_undying", "affordabletotems:iron_totem", "netheriteextras:totem_of_neverdying"]
multiUseTotems = ["netheriteextras:totem_of_neverdying=4"]
Custom multi-use totems use this format:
"modid:item_id=uses"
Example:
"examplemod:custom_totem=3"
/totembeforeplayerrevive scan
/totembeforeplayerrevive debug on
/totembeforeplayerrevive debug off
/totembeforeplayerrevive debug status
The scan command checks whether the player has a valid totem and reports where it was found.
Minecraft 1.20.1
Forge 47.4.10
Java 17
PlayerRevive is only needed if you want the compatibility behavior this mod was made for
If no valid totem is found, this mod does nothing and lets PlayerRevive handle the downed state normally.