灵感来源于 PuckiSilver 的 Keep Some Inventory 数据包。
Keep Some Modded Inventory 是 Minecraft keepInventory 规则的替代方案:你可以保留你的装备(剑、镐等),但其他物品(食物、火把等)会在死亡时掉落。这意味着你更容易找回自己的物品,但死亡仍然会有惩罚。此外,它还包含一些小改进(QoL)功能,让死亡不再那么繁琐。
特性
默认情况下...
- 原版和模组的装备在死亡时会保留在你的物品栏中。
- 你的资源会精确地在你死亡的地点掉落,不会四散飞溅。
- 你的物品永远不会消失。
- 100% 的经验值都会掉落。
此外...
- 此模组使用动态谓词来决定是否应掉落某个物品,因此它能自动兼容大多数模组的工具和武器。
- 兼容大多数墓碑模组。
- 兼容 Accessories。
- 兼容 YYZ's Backpack 和 Sophisticated Backpacks(背包会在死亡时掉落,以防止绕过 KSMI)。
- 完全可配置!
配置
此模组可以在模组菜单中进行配置,也可以使用数据包进行配置。
配置属性
| 属性 | 描述 | 默认值 |
|---|---|---|
| 模组启用 | 是否启用该模组。 | true |
| 保留可附魔物品 | 当为 true 时,不在 always_drop 标签中的可附魔物品将保留在物品栏中。 |
true |
| 保留可损坏物品 | 当为 true 时,不在 always_drop 标签中具有 max_damage 组件的物品将保留在物品栏中。 |
true |
| 保留可装备物品 | 当为 true 时,不在 always_drop 标签中可以装备为护甲或 配件 的物品将保留在物品栏中。 |
true |
| 物品速度倍数 | 死亡时物品被抛出的力度。1 是原版的默认值。 | 0.1 |
| 掉落的经验值 | 死亡时应掉落的经验值百分比。设置为 0 以使用 Minecraft 的计算方式。 | 1.0 |
| 消失时间 | 死亡掉落的物品持续存在的时间(分钟)。设置为 0 使其永不消失。 | 0 |
数据包配置
可以使用数据包来完全控制死亡时掉落的物品。KSMI
提供了两个物品标签:#keepsomemoddedinventory:never_drop 和 #keepsomemoddedinventory:always_drop。这些标签优先于配置文件中的谓词。默认情况下,望远镜或指南针等工具类物品位于 #never_drop 标签中,而潜影盒等容器类物品位于 #always_drop 标签中。
Inspired by PuckiSilver's Keep Some Inventory datapack.
Keep Some Modded Inventory is an alternative to Minecraft's keepInventory: you can keep your equipment (swords, pickaxes, etc.), but your other items (food, torches, etc.) will drop on death. This means it is much easier to get back to your stuff, but dying still has a penalty. Additionally, it has some small QoL features to make dying less of a chore.
Features
By default...
- Vanilla and modded equipment will stay in your inventory when you die.
- Your resources will drop exactly where you died, with no splattering.
- Your items will never despawn.
- 100% of your experience will drop
Additonally...
- This mod uses dynamic predicates to decide whether an item should be dropped or not, meaning that it is automatically compatable with most modded tools and weapons.
- Compatabile with most gravestone mods.
- Compatabile with Accessories.
- Compatabile with YYZ's Backpack and Sophisticated Backpacks (backpacks will drop on death to prevent circumventing KSMI)
- Fully configurable!
Configuring
This mod can be configured in the mod menu, as well as with datapacks.
Configuration properties
| Property | Description | Default |
|---|---|---|
| Mod enabled | Whether the mod is enabled. | true |
| Keep enchantable items | When true, enchantable items not in the always_drop tag will be kept in inventory. |
true |
| Keep damageable items | When true, items with the max_damage component not in the always_drop tag will be kept in inventory. |
true |
| Keep equippable items | When true, items that can be equipped as armor or as an accessory not in the always_drop tag will be kept in inventory. |
true |
| Item velocity multiplier | How much items should be flung when you die. 1 is vanilla's default. | 0.1 |
| Experience dropped | Percent of experience should be dropped when you die. Set to 0 to use Minecraft's calculations. | 1.0 |
| Despawn time | Time in minutes that items dropped on death should last. Set to 0 to make them never despawn. | 0 |
Datapack configuration
Datapacks can be used to have full control over what items drop on death. KSMI
provides two item tags: #keepsomemoddedinventory:never_drop and #keepsomemoddedinventory:always_drop. These tags take precidence over the predicates in the config. By default, tool items like the spyglass or compass are in the #never_drop tag and container items like the shulker box are in the #always_drop tag.
下载 Keep Some Modded Inventory
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Keep Some Modded Inventory
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Keep Some Modded Inventory
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Keep Some Modded Inventory
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Keep Some Modded Inventory
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Keep Some Modded Inventory
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Keep Some Modded Inventory
- 已将填充地图添加到
never_drop.json标签 - 添加了与 Map Atlases 的兼容性(图集中不会掉落)
此外,该模组的源代码现在托管在 Codeberg 上。
此版本为 1.4 的热修复补丁
- 修复了死亡时物品消失的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧