保留一些物品 (Keep Some Inventory)
当你死亡时,不会失去装备,但会掉落资源。
在《Minecraft》中,死亡后物品散落远离死亡地点,常常令人困扰,特别是当这些地方充满危险时,更是如此。
这个数据包能够解决这个问题,让你在死亡时能够保留你的战斗装备,例如武器、工具和盔甲。
概述
个人而言,我不喜欢将游戏规则设置为“keepInventory=true”,因为这让我觉得可以轻易地进入危险区域,而不用担心失去任何东西。
这个数据包旨在让危险区域恢复其风险性,同时仍然允许你使用你花费数小时来收集、制作和附魔的最佳装备。
功能
当你死亡时,你会保留身上的所有装备,但仍然会掉落你的资源。
你会保留这些物品:
盔甲、滑翔翼、头颅、头颅和雕刻南瓜
工具和武器,包括三叉戟、打火石和钓鱼竿
时钟、指南针和恢复指南针
所有种类的金苹果、药水和护身符
所有类型的箭头、所有类型的火把和烟火火箭
末影珍珠和末影之眼
山羊角、望远镜、所有地图和所有桶
所有类型的船只、矿车、马鞍和马铠
书和可书写的书(书和羽毛笔)
胡萝卜钓竿和扭曲的真菌钓竿
你的物品不会散落,它们都会留在你死亡的确切位置,不会飞入岩浆或坠落悬崖。
在你死亡的位置,你可以收集你的所有经验,并且不会像在原版《Minecraft》中一样限制在约7级。
死亡后,你的物品将在10分钟后消失,而不是正常的5分钟。
➔ 物品消失所需时间可以通过[配置数据包](#configure-the-pack)进行修改。
配置数据包
如果你是管理员或启用了作弊,你可以通过运行以下命令轻松地配置数据包的行为:
function ps-keep:config
Copy 已复制!
这会在聊天中打开以下菜单:
你可以通过点击文本来更改值。
配置选项:
物品消失偏移量
,是从默认的5分钟中减去的时间的量 ,
销毁计时器以刻度
默认值为-6000
刻度,这样你就可以额外获得5分钟 ,因此你的
物品在10分钟后消失
将其设置为5999
将意味着它们在仅有一刻度 后消失
如果将其设置为-32768
,则死后的物品会保留超过32分钟
保留经验
决定是否经验 会掉落
如果设置为默认值0
,你将在死亡地点掉落全部 经验
当它设置为1
时,你将保留 你所有的经验,就像keepInventory
游戏规则的工作原理一样
保留物品
决定哪些物品会掉落
如果设置为默认值1
,你将仅掉落资源 而不是装备
(你可以在这里 看到所有被保留的物品)
通过将其设置为0
,你将掉落所有物品 ,但保留经验,物品不会散落,物品消失时间将按预期发生
如果设置为2
,你将保留所有物品 ,同时仍然可以掉落你的经验
如果你想要调整死亡时保留或掉落的物品,你可以修改`/data/ps-keep/tags/items/drop_on_death.json`中的`drop_on_death`物品标签。
在构建数据包时,你可以通过修改[`drop_on_death.bolt`]( 链接
截图:
来自Modrinth
所有游戏版本 1.21 1.21.1 1.20.5 1.20.6 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 所有类型 neoforge fabric forge quilt datapack
Keep Some Inventory | v2.0.1 | Neoforge - the correct amount of xp at levels 17+ is dropped now
展开
版本: v2.0.1+mod+neoforge
支持游戏: 1.21, 1.21.1
Release
下载次数: 4,762
Keep Some Inventory | v2.0.1 | Mod - the correct amount of xp at levels 17+ is dropped now
展开
版本: v2.0.1+mod
支持游戏: 1.21, 1.21.1
Release
下载次数: 43,765
Keep Some Inventory | v2.0.1 | Data Pack - the correct amount of xp at levels 17+ is dropped now
展开
版本: v2.0.1
支持游戏: 1.21, 1.21.1
类型: datapack
Release
下载次数: 7,764
Keep Some Inventory | v2.0.0 | Mod This is a **full rewrite** of the pack but the main differences are as follows:
- You **can no longer configure** the pack through a scoreboard, the settings should be like the default settings before
- Updated to **1.21+ only** for less code and better performance
- Experience orbs now also **stay for 10 minutes** instead of 5 minutes
- Items that should be dropped now include vanilla `minecraft` tags and modded `c` tags for **better compatability**
- Now uses an advancement to detect death instead of a scoreboard, making it **fully compatible** with the `doImmediateRespawn` gamerule
- Uses macros to drop items and experience to **improve performance**
展开
版本: v2.0.0+mod
支持游戏: 1.21
Release
下载次数: 1,248
Keep Some Inventory | v2.0.0 | Data Pack This is a **full rewrite** of the pack but the main differences are as follows:
- You **can no longer configure** the pack through a scoreboard, the settings should be like the default settings before
- Updated to **1.21+ only** for less code and better performance
- Experience orbs now also **stay for 10 minutes** instead of 5 minutes
- Items that should be dropped now include vanilla `minecraft` tags and modded `c` tags for **better compatability**
- Now uses an advancement to detect death instead of a scoreboard, making it **fully compatible** with the `doImmediateRespawn` gamerule
- Uses macros to drop items and experience to **improve performance**
展开
版本: v2.0.0
支持游戏: 1.21
类型: datapack
Release
下载次数: 447
Keep Some Inventory | Data Pack - Fix all enchanted items getting deleted (vanishing cursed ones will still get deleted)
展开
版本: v1.4.2
支持游戏: 1.20.5, 1.20.6
类型: datapack
Release
下载次数: 2,642
Keep Some Inventory | Mod - Fix all enchanted items getting deleted (vanishing cursed ones will still get deleted)
展开
版本: v1.4.2+mod
支持游戏: 1.20.5, 1.20.6
Release
下载次数: 3,342
Keep Some Inventory | Data Pack - Fix dropping stone when dying with empty inventory
展开
版本: v1.4.1
支持游戏: 1.20.5, 1.20.6
类型: datapack
Release
下载次数: 100
Keep Some Inventory | Mod - Fix dropping stone when dying with empty inventory
展开
版本: v1.4.1+mod
支持游戏: 1.20.5, 1.20.6
Release
下载次数: 190
Keep Some Inventory | Data Pack 展开
版本: v1.4.0
支持游戏: 1.20.5, 1.20.6
类型: datapack
Release
下载次数: 174
Keep Some Inventory | Mod 展开
版本: v1.4.0+mod
支持游戏: 1.20.5, 1.20.6
Release
下载次数: 246
Keep Some Inventory | Data Pack - Actually fix 'unknown scoreboard' error
展开
版本: v1.3.3
支持游戏: 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4
类型: datapack
Release
下载次数: 9,253
Keep Some Inventory | Mod - Actually fix 'unknown scoreboard' error
展开
版本: v1.3.3+mod
支持游戏: 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4
类型:
Fabric
Forge
NeoForge
Quilt
Release
下载次数: 154,099
Keep Some Inventory | Data Pack - fix 'unknown scoreboard objective' typo
- update drop_on_death to newest version
- update config names (config will be reset in worlds where the pack was already installed and configured)
展开
版本: v1.3.2
支持游戏: 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4
类型: datapack
Release
下载次数: 112
Keep Some Inventory | Mod - fix 'unknown scoreboard objective' typo
- update drop_on_death to newest version
- update config names (config will be reset in worlds where the pack was already installed and configured)
展开
版本: v1.3.2+mod
支持游戏: 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4
类型:
Fabric
Forge
NeoForge
Quilt
Release
下载次数: 261
Keep Some Inventory | Datapack - Updated for 1.20
- Updated for Paper
展开
版本: v1.3.0
支持游戏: 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2
类型: datapack
Release
下载次数: 5,046
Keep Some Inventory | Mod - Updated for 1.20
- Updated for Paper
展开
版本: v1.3.0+mod
支持游戏: 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2
Release
下载次数: 303,608
Keep Some Inventory | Mod - Fix a bug that sometimes deleted items
- Items with the Curse of Vanishing enchantment now properly vanish upon death
展开
版本: v1.2.0+mod
支持游戏: 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4
Release
下载次数: 1,134
Keep Some Inventory | Data Pack - Fix a bug that sometimes deleted items
- Items with the Curse of Vanishing enchantment now properly vanish upon death
展开
版本: v1.2.0
支持游戏: 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4
类型: datapack
Release
下载次数: 667
Keep Some Inventory | Mod - Updated to better standards
- Polished some art up
- Keep **more items when dying**
- Added stuff like Ender Pearls/Eyes, Torches, Mob Heads, ...
展开
版本: v1.1.0+mod
支持游戏: 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3
Release
下载次数: 489
Keep Some Inventory | Data Pack - Updated to better standards
- Polished some art up
- Keep **more items when dying**
- Added stuff like Ender Pearls/Eyes, Torches, Mob Heads, ...
展开
版本: v1.1.0
支持游戏: 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3
类型: datapack
Release
下载次数: 434
全部版本