跳到正文

Keep Inventory

作者:Noobyboom

Enforces keepInventory gamerule to always be true. Never lose your items on death!

收藏

介绍

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

Keep Inventory

Keep Inventory cover image

Never lose your items on death again! This mod automatically enforces the keepInventory gamerule to always be true, preventing any manual changes.

Features

  • ✅ Auto-Enable – Sets keepInventory=true when any world loads
  • ✅ Constant Enforcement – Checks every second to ensure it stays enabled
  • ✅ Auto-Correction – If changed to false, automatically sets it back to true

How It Works

The mod uses two mechanisms to ensure keepInventory is always enabled:.

Periodic Check: Every second (20 ticks), verifies the gamerule is still true.
Auto-Fix: If it detects the gamerule was changed to false, it automatically corrects it back to true.

This means even if a player or admin tries to run /gamerule keepInventory false, the mod will change it back within 1 second!

常见问题

Keep Inventory 支持哪些 Minecraft 版本?

Keep Inventory 支持 Minecraft Java 版 1.8.9–26.1.2,共 35 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Keep Inventory 怎么安装?

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

评论

登录后评论和评分

Noobyboom 的其他作品

查看全部 →