跳到正文

PartialKeepInventory

作者:Millzy

Fully configurable and modular alternative to keepInventory.

收藏

介绍

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

PartialKeepInventory

Frustrated when you lose all your important stuff and suddenly your world/server grinds to a halt? Hate how consequence free keepInventory feels? PartialKeepInventory aims to find a “happy middleground” between the two.

PartialKeepInventory is a highly modular alternative to using keepInventory; you can keep specific groups of items, certain slots and even individual items from being dropped upon death, as opposed to your whole inventory and levels.

Usage

To start with, ensure that keepInventory is disabled and instead enabled the partialKeepInventory gamerule.

Enabling Features

Currently, nothing is set up and dying will behave as normal with keepInventory disabled. You need to enable “features” individually. For this example, we want to keep my tools and equipped armour when we die. So we enable the tools and equipment features, using the partialKeepInventory features add command.

You can also check what features are enabled using the partialKeepInventory features command.

The complete list of features is as follows:

  • equipment – Any items equipped in your armor slots
  • equippables – Any items that are able to be equipped in your amor slots.
  • tools – Any items with a tool component, such as pickaxes and shovels (should also include weapons)
  • hotbar – Any items that are in your hotbar.
  • offhand – Any items in your offhand.
  • epic/rare/common/uncommon – Any items with the respective rarity, indicated by name colour (purple/blue/yellow/white).
  • experience – Experience and levels
  • customList – Any items added to the itemList using the partialKeepInventory itemList add command.

常见问题

PartialKeepInventory 支持哪些 Minecraft 版本?

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

PartialKeepInventory 怎么安装?

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

评论

登录后评论和评分

Millzy 的其他作品

查看全部 →