跳到正文

Totem Before PlayerRevive

作者:rustercraft

Totem Before PlayerRevive is a mod that makes totems activate before PlayerRevive downs the player.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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.
Totem works before PlayerRevive

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.

常见问题

Totem Before PlayerRevive 支持哪些 Minecraft 版本?

Totem Before PlayerRevive 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Totem Before PlayerRevive 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

rustercraft 的其他作品

查看全部 →