Better Lost Items
Better Lost Items 将 Minecraft 中最令人伤感的小瞬间——看着你的装备永远消失——转化为一个临时的、通过流浪商人进行恢复的系统。
与其让所有消失的物品简单地消失在被遗忘的像素虚空中,这个模组会追踪丢失的战利品,将其保存到世界中,并让流浪商人成为神秘的物品回收商人。
功能介绍
Better Lost Items 引入了两个主要概念:
- 未认领的消失物品会成为流浪商人的库存。
- 玩家死亡掉落的物品可以通过自定义的流浪商人标签页稍后找回。
这意味着随机掉落的世界物品可能会重新出现在商人市场中,而你死后个人丢失的物品则保存在你自己的回收缓存中。
特性
- 追踪无标记的消失物品并将其保存到服务器/世界文件中。
- 为流浪商人添加最多 8 种丢失世界物品的交易。
- 购买后永久移除公共丢失物品交易。
- 在生成后保持每个流浪商人的市场报价稳定。
- 防止同一商人市场中出现重复的物品报价。
- 合并可堆叠的未认领物品,使一种物品类型不会淹没交易菜单。
- 使用玩家的 UUID 标记从玩家死亡中掉落的物品。
- 将消失的玩家死亡掉落物保存到该玩家的个人丢失战利品缓存中。
- 为玩家死亡战利品添加自定义的流浪商人回收标签页。
- 允许玩家支付一次配置的固定费用,将所有丢失的死亡战利品移入已取回战利品。
- 提供已取回战利品的库存,玩家可以正常取回物品。
- 支持通过 Shift+点击将已取回战利品放入玩家背包。
- 保持死亡战利品堆叠分离,以便同一物品的多个堆叠均可回收。
- 防止生物拾取玩家死亡掉落物。
- 处理由仙人掌删除的死亡战利品,将其直接发送到可回收的丢失战利品中。
- 追踪卸载区块中的死亡掉落物,并允许商人稍后获取它们。
- 支持特殊的隐藏烧毁战利品和虚空/坠落战利品池。
- 允许玩家提供额外的配置补给以回收烧毁或虚空丢失的物品。
- 使获取过程具有沉浸感:商人离开、消失,并在第二天早上带着战利品返回。
- 如果附近没有足够的流浪商人,玩家在重生后会生成一个附近的流浪商人。
- 包含用于测试或管理玩家死亡战利品缓存的管理员命令。
- 包含 Mod Menu 集成以及游戏内配置界面。
- 实时保存配置更改,无需重启游戏。
流浪商人市场
当普通的、无标记的物品消失时,它们会被保存到公共未认领池中。
流浪商人随后可以将这些物品作为交易提供。这些物品的价格基于物品的粗略价值,包括稀有度、附魔、耐久度、自定义名称和堆叠数量等因素。
一旦玩家购买了其中一件物品,它就会从公共池中移除。这里没有任何物品复制的把戏。
死亡战利品回收
当玩家死亡时,从那次死亡中掉落的物品会被标记为该玩家所有。
如果这些物品消失,它们将被保存到该玩家的个人丢失战利品缓存中。当玩家打开流浪商人回收标签页时,他们可以看到:
- 丢失战利品:等待购买回的物品。
- 已取回战利品:已付款并准备收集的物品。
玩家支付一次配置的费用即可一次性赎回所有当前丢失的死亡战利品。默认为 10 个绿宝石。

获取旅程
有时死亡战利品尚未消失。它们只是坐在远处卸载的区块中。
获取系统允许流浪商人去取回那些战利品:
- 玩家在获取槽位中放置所需的旅程补给。
- 玩家按下“获取”按钮。
- 流浪商人离开并消失。
- 模组扫描跟踪的死亡战利品区块并收集匹配的物品。
- 第二天 Minecraft 早晨,一个流浪商人会在附近返回。
- 获取的战利品将在玩家的“丢失战利品”列表中变为可用。
可选的获取补给还可以回收:
- 烧毁战利品:被火或熔岩摧毁的死亡物品。
- 虚空战利品:因坠入虚空而被删除的死亡物品。
这两个系统都可以启用、禁用和自定义。

配置
Better Lost Items 创建一个配置文件:
config/better_lost_items.json
如果安装了 Mod Menu,你可以在游戏内打开配置界面并实时编辑所有内容。
可配置的选项包括:
- 用于支付死亡战利品回收的物品。
- 死亡战利品回收所需的数量。
- 是否启用获取系统。
- 获取是否使用食物或自定义物品作为旅程补给。
- 自定义旅程物品、药水类型和数量。
- 是否可以回收烧毁战利品。
- 烧毁战利品获取物品、药水类型和数量。
- 是否可以回收虚空战利品。
- 虚空战利品获取物品、药水类型和数量。
通过 Mod Menu 配置界面进行的更改会立即保存,并在不重启游戏的情况下生效。
命令
拥有作弊/操作员权限的玩家可以使用:
/deathlootcache <player> clear
/deathlootcache <player> add
/deathlootcache <player> list
命令行为:
clear移除所选玩家的所有缓存死亡战利品。add将所选玩家的当前库存移动到其死亡战利品缓存中。list打印玩家的缓存丢失、已取回、烧毁、坠落和待获取战利品。
这些命令对于测试回收 UI 特别有用。
安装
- 为支持的 Minecraft 版本安装 Fabric Loader。
- 安装 Fabric API。
- 将 Better Lost Items jar 放入你的
mods文件夹。 - 可选但推荐:安装 Mod Menu 以在游戏内编辑配置。
内置 jar 是通过以下方式创建的:
./gradlew build
然后使用来自以下位置的 jar:
build/libs/better-lost-items-1.0.jar
备注
Better Lost Items 将世界专属的丢失物品数据存储在世界的存档文件夹内。这意味着每个世界/服务器都拥有独立的丢失物品池。
该模组以服务端权威为核心设计,负责存储、交易、恢复和拾取行为。客户端主要负责渲染界面以及发送按钮点击和滚动请求。
为什么?
因为永久失去物品令人痛苦。
因为流浪商人需要一份更好的工作。
Better Lost Items
Better Lost Items turns Minecraft's saddest little moment, watching your gear vanish forever, into an impermanent, wandering-trader recovery system.
Instead of every despawned item simply disappearing into the void of forgotten pixels, this mod tracks lost loot, saves it to the world, and lets wandering traders become mysterious item-recovery merchants.
What It Does
Better Lost Items adds two big ideas:
- Unclaimed despawned items become wandering trader stock.
- Player death loot can be recovered later through a custom wandering trader tab.
That means random world drops can reappear in trader markets, while items you personally lost after dying are kept in your own recovery cache.
Features
- Tracks unlabeled despawned items and saves them to a server/world file.
- Adds up to 8 lost-world-item trades to wandering traders.
- Removes public lost-item trades permanently after purchase.
- Keeps each wandering trader's market offers stable after they spawn.
- Prevents duplicate item offers in the same trader market.
- Merges stackable unclaimed items so one item type does not flood the trade menu.
- Tags items dropped from player deaths with that player's UUID.
- Saves despawned player death drops to that player's personal lost-loot cache.
- Adds a custom wandering trader recovery tab for player death loot.
- Lets players pay one flat configured cost to move all lost death loot into retrieved loot.
- Provides a retrieved-loot inventory where players can take items back normally.
- Supports shift-clicking retrieved loot into the player inventory.
- Keeps death-loot stacks separate so multiple stacks of the same item are all recoverable.
- Prevents mobs from picking up player death drops.
- Handles cactus-deleted death loot by sending it directly to recoverable lost loot.
- Tracks death drops in unloaded chunks and lets traders fetch them later.
- Supports special hidden burned loot and void/fallen loot pools.
- Lets players provide extra configured supplies to recover burned or void-lost items.
- Makes fetching immersive: the trader walks away, despawns, and returns the next morning with the loot.
- Spawns a nearby wandering trader after a player respawns if none are close enough.
- Includes admin commands for testing or managing player death-loot caches.
- Includes Mod Menu integration with an in-game config screen.
- Saves config changes live without needing a game restart.
Wandering Trader Market
When normal, unlabeled items despawn, they are saved into the public unclaimed pool.
Wandering traders can then offer those items as trades. These are priced based on the item's rough value, including things like rarity, enchantments, durability, custom names, and stack size.
Once a player buys one of these items, it is removed from the public pool. No item duplication shenanigans here.
Death Loot Recovery
When a player dies, the items dropped from that death are tagged as belonging to that player.
If those items despawn, they are saved to that player's personal lost-loot cache. When the player opens the wandering trader recovery tab, they can see:
- Lost Loot: items waiting to be purchased back.
- Retrieved Loot: items already paid for and ready to collect.
The player pays one configured cost to redeem all currently lost death loot at once. By default, this is 10 emeralds.

Fetch Journeys
Sometimes death loot is not gone yet. It is just sitting far away in unloaded chunks.
The Fetch system lets a wandering trader go retrieve that loot:
- The player places the required journey supplies in the fetch slots.
- The player presses Fetch.
- The wandering trader walks away and despawns.
- The mod scans tracked death-loot chunks and gathers matching items.
- The next Minecraft morning, a wandering trader returns nearby.
- The fetched loot becomes available in the player's Lost Loot list.
Optional fetch supplies can also recover:
- Burned Loot: death items destroyed by fire or lava.
- Void Loot: death items deleted by falling into the void.
Both of these systems can be enabled, disabled, and customized.

Config
Better Lost Items creates a config file:
config/better_lost_items.json
If Mod Menu is installed, you can open the config screen in-game and edit everything live.
Configurable options include:
- The item used to pay for death-loot recovery.
- The amount required for death-loot recovery.
- Whether the fetch system is enabled.
- Whether fetch uses food or a custom item for journey supplies.
- The custom journey item, potion type, and amount.
- Whether burned loot can be recovered.
- The burned-loot fetch item, potion type, and amount.
- Whether void loot can be recovered.
- The void-loot fetch item, potion type, and amount.
Changes made through the Mod Menu config screen are saved immediately and take effect without restarting the game.
Commands
Players with cheats/operator permissions can use:
/deathlootcache <player> clear
/deathlootcache <player> add
/deathlootcache <player> list
Command behavior:
clearremoves all cached death loot for the selected player.addmoves the selected player's current inventory into their death-loot cache.listprints the player's cached lost, retrieved, burned, fallen, and pending fetch loot.
These are especially useful for testing the recovery UI.
Installation
- Install Fabric Loader for the supported Minecraft version.
- Install Fabric API.
- Put the Better Lost Items jar into your
modsfolder. - Optional but recommended: install Mod Menu to edit the config in-game.
The built jar is created with:
./gradlew build
Then use the jar from:
build/libs/better-lost-items-1.0.jar
Notes
Better Lost Items stores world-specific lost-item data inside the world save folder. That means each world/server keeps its own lost item pools.
The mod is designed around server-side authority for storage, trades, recovery, and fetch behavior. Clients mostly handle rendering screens and sending button/scroll requests.
Why?
Because losing items forever is painful.
Because wandering traders needed a better job.
下载 Better Lost Items
下载 Better Lost Items
下载 Better Lost Items
下载 Better Lost Items
下载 Better Lost Items
下载 Better Lost Items
下载 Better Lost Items
下载 Better Lost Items
下载 Better Lost Items
下载 Better Lost Items
新增
- 新增一个配置选项:启用村民闲置掉落物品战利品表。
- 该选项在配置文件和游戏中模组配置菜单中均可用。
- 默认启用,保留之前的行为。
更改
- 当新选项被禁用时,没有玩家标签的闲置消失物品不再加入流浪商人的市场池。
- 当闲置掉落物品战利品表被禁用时,流浪商人交易将回退到原版交易选项。
修复
- 修复新的配置菜单选项格式,使其与其他配置条目保持一致。
- 修复了一个 bug:当闲置掉落物品战利品表选项被禁用时,从“恢复”标签页切换回“交易/市场”标签页可能导致菜单关闭。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧