keepinvy
Flexible inventory saving settings upon death - separately for PvP, mobs, fire, void, and other reasons
介绍
Smart Keep Inventory
This mod provides flexible control over whether the player loses their inventory upon death, depending on what exactly killed them.
By default, the player’s inventory is almost always retained, but it is lost if they are killed by another player (PvP), crushed by a falling driplite/stalactite, or suffocated by blocks. Everything else—falling into lava, drowning, regular
mobs, the void, etc.—retains the player’s inventory.
Features
- 🗡 PvP — direct and indirect kills are configured separately (for example, if you were set on fire in battle and the player died from the fire a few seconds later, this also counts as PvP; the time window is configurable)
- 🪨 Sharpened Driplite / Stalactite
- 🧱 Suffocation in Blocks
- 🌌 Falling into the Void
- 🔥 Fire and Lava
- 🌊 Drowning
- 🍂 Falling from a Height
- 🍗 Hunger
- 💥 Explosions
- 🧟 Regular Mobs
- ❓ Any other causes of death
Each option can be enabled or disabled individually, according to your server’s rules.
Settings
Opened directly in-game via the Mod Menu (requires the **Cloth Config
API**) – a screen with switches; changes are applied instantly, without
restarting the server. The mod also works without the Mod Menu/Cloth Config – just manually edit the settings in config/keepstuffmod.json.
Dependencies
- Fabric API (required)
- Mod Menu (optional, for the settings screen)
- Cloth Config API (optional, for the settings screen)
Version
Minecraft 1.21.1, Fabric, Java 21
常见问题
keepinvy 支持哪些 Minecraft 版本?
keepinvy 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
keepinvy 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分