跳到正文

Pocket Totem

作者:Vilno

Pocket Totem — a lightweight Vanilla+ mod that allows the Totem of Undying to trigger from any inventory slot, keeping your off-hand free for shields and tools.

收藏

介绍

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

🛡️ 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:

  1. 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.
  2. 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+

常见问题

Pocket Totem 支持哪些 Minecraft 版本?

Pocket Totem 支持 Minecraft Java 版 1.21.1–1.21.8,共 2 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Pocket Totem 怎么安装?

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

评论

登录后评论和评分

Vilno 的其他作品

查看全部 →