English Version
SharecodeChestByPycoder
SharecodeChestByPycoder is a Minecraft Forge 1.20.1 mod created by Pycoder.
Its purpose is to improve the way players interact with loot containers while exploring the world.
In vanilla Minecraft and many modded worlds, players often find many loot chests, barrels, trapped chests, or chest minecarts while exploring structures. Opening all of them immediately can quickly fill the player’s inventory and interrupt exploration. SharecodeChestByPycoder changes this experience by turning eligible loot containers into special recordable containers.
When a player right-clicks a converted loot container, the mod does not immediately generate or give loot. Instead, the container is recorded into the player’s personal chest list. The player can later open a dedicated GUI, view all recorded containers, and remotely open them whenever convenient. This allows players to continue exploring without constantly managing inventory space.
The mod uses a Lootr-like multiplayer model. The same loot container instance may be opened independently by different players, but each individual player can only open that specific container once. This means one player opening a container does not prevent other players from receiving their own independent loot roll. At the same time, the mod prevents the same player from duplicating rewards through repeated right-clicks, repeated shares, or repeated inbox accepts.
Loot generation is fully server-side. A container is only randomized when the player clicks the “Open” button in the GUI. The generated items are inserted directly into the player’s inventory. If the inventory is full, remaining items are dropped at the player’s feet instead of being lost.
SharecodeChestByPycoder also includes a sharing system. Players can share discovered container instances with other known players on the server, including offline players who have joined before. Shared containers appear in the recipient’s inbox, where they can be accepted or rejected. Accepting a share adds the container to the recipient’s own unopened list, allowing them to roll their own loot later.
The mod is designed to be server-authoritative. Important data such as recorded containers, inbox entries, opened states, loot table identifiers, and container instance identifiers are validated and stored by the server. This design helps prevent item duplication, client-side cheating, and data desynchronization.
In short, SharecodeChestByPycoder aims to provide a cleaner exploration experience, a fair multiplayer loot model, and a convenient way to share discovered loot opportunities with friends.
中文版本
SharecodeChestByPycoder
SharecodeChestByPycoder 是一个由 Pycoder 制作的 Minecraft Forge 1.20.1 模组。
它的目标是改善玩家在探索世界时与战利品容器互动的方式。
在原版 Minecraft 和许多整合包世界中,玩家探索结构时经常会遇到大量战利品箱子、木桶、陷阱箱或运输矿车箱子。立刻打开所有容器很容易迅速塞满玩家背包,并打断探索节奏。SharecodeChestByPycoder 会通过把符合条件的战利品容器转换成特殊的可记录容器,来改变这种体验。
当玩家右键一个已转换的战利品容器时,模组不会立刻生成或给予战利品。相反,该容器会被记录到玩家自己的箱子列表中。玩家之后可以打开专用 GUI,查看所有已记录容器,并在方便的时候远程开启它们。这样玩家就能继续探索,而不需要频繁整理背包空间。
该模组采用类似 Lootr 的多人游戏模型。同一个战利品容器实例可以被不同玩家分别独立开启,但每个单独玩家只能开启这个特定容器一次。这意味着一个玩家开启容器不会阻止其他玩家获得属于自己的独立战利品随机结果。同时,模组会防止同一玩家通过重复右键、重复分享或重复接收收件箱内容来复制奖励。
战利品生成完全由服务端执行。只有当玩家在 GUI 中点击“开启”按钮时,容器才会真正随机生成战利品。生成的物品会直接放入玩家背包。如果背包已满,剩余物品会掉落在玩家脚下,而不是消失。
SharecodeChestByPycoder 还包含分享系统。玩家可以把已经发现的容器实例分享给服务器中的其他已知玩家,包括曾经加入过服务器的离线玩家。被分享的容器会出现在接收者的收件箱中,接收者可以选择接收或拒绝。接收分享后,该容器会加入接收者自己的未开启列表,使接收者之后可以随机出属于自己的战利品。
该模组设计为服务端权威。已记录容器、收件箱条目、开启状态、战利品表标识和容器实例标识等重要数据,都由服务端验证和保存。这种设计有助于防止物品复制、客户端作弊和数据不同步。
简而言之,SharecodeChestByPycoder 旨在提供更流畅的探索体验、更公平的多人战利品模型,以及一种方便地与朋友分享已发现战利品机会的方式。