Totem Before PlayerRevive 是一个轻量级的服务端权威兼容模组,适用于 Forge 1.20.1,可使图腾在 PlayerRevive 使玩家进入倒地状态之前激活。
PlayerRevive 非常适合多人生存模式,但在某些设置中,它可能导致不死图腾和自定义图腾显得毫无用处,因为玩家会在图腾有机会拯救他们之前就进入倒地/复活状态。此模组修复了该行为。
如果玩家受到致命伤害且副手、主手或背包中有有效的图腾,则图腾会首先激活。若未找到有效图腾,PlayerRevive 将正常工作。

功能
- 使图腾在 PlayerRevive 之前激活
- 支持副手、主手或背包中的图腾
- 支持原版不死图腾
- 支持 Affordable Totems
- 支持通过物品 ID 配置的自定义图腾
- 支持具有可配置使用次数的多用途图腾
- 内置对 Netherite Extras 的 Neverdying 图腾的支持
- 服务端权威行为
- 专用服务器安全
- 在专用服务器上安装时,客户端无需安装此模组
- 无需客户端界面、按键绑定、渲染或网络通信
内置支持的图腾
minecraft:totem_of_undying
affordabletotems:iron_totem
netheriteextras:totem_of_neverdying
默认情况下,Netherite Extras 的 Neverdying 图腾被配置为可使用 4 次。
服务端安装
此模组仅需安装在拥有世界/服务器逻辑的一侧。
请安装在:
加入服务器的玩家无需安装此模组,除非他们是主机。
配置
模组包含一个通用配置文件,您可以在其中添加更多自定义图腾。
示例:
allowedTotemIds = ["minecraft:totem_of_undying", "affordabletotems:iron_totem", "netheriteextras:totem_of_neverdying"]
multiUseTotems = ["netheriteextras:totem_of_neverdying=4"]
自定义多用途图腾使用以下格式:
"modid:item_id=uses"
示例:
"examplemod:custom_totem=3"
命令
/totembeforeplayerrevive scan
/totembeforeplayerrevive debug on
/totembeforeplayerrevive debug off
/totembeforeplayerrevive debug status
扫描命令检查玩家是否有有效的图腾,并报告其所在位置。
要求
- Minecraft 1.20.1
- Forge 47.4.10
- Java 17
- 仅当您想要此模组所针对的兼容性行为时才需要 PlayerRevive
注意事项
如果未找到有效的图腾,此模组将不执行任何操作,并让 PlayerRevive 正常处理倒地状态。
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.

Features
- 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
Built-in Supported Totems
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.
Server-Side Installation
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.
Config
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"
Commands
/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.
Requirements
- 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
Notes
If no valid totem is found, this mod does nothing and lets PlayerRevive handle the downed state normally.
评论 0
登录后参与评分
还没有评论,来抢沙发吧