在我看来,任何拥有物品栏的游戏都应该提供一种整理该物品栏的方式。 这正是本模组所添加的功能。
你获得了一个手动整理的按钮,但也可以配置任何箱子在关闭时自动整理,或者将此设置为默认配置。
整理过程根据容器中的可用空间以及不同种类物品的数量采用不同的算法。最初会尝试基于行数进行填充。一个双层箱子有 6 行,如果你有 5 种不同类型的物品且每种都不超过 9 组(因为我们有 9 列),我们会将每种类型的物品放在一行中。

如果我们超过了这 6 行,我们将尝试按列来容纳它们。

如果无法按列容纳,我们只需将所有物品从左到右、从上到下有序放置。
在任何情况下,未满组的物品都会与相同类型物品的其他未满组合并。
我们还根据耐久度进行排序。 损坏最少的物品排在前面,其余的按降序排列。

In my opinion any game with an inventory should have a way of sorting said inventory. That is exactly what this mod adds.
You get a button to sort manually but you can also configure any chest to sort on close or set that as the default configuration.
The sorting is done according to different algorithms based on the available space in the container and the amount of different types of items. It will initially try to fill based on the amount of rows. A double chest has 6 rows, if you have 5 different types of items and none of those exceed 9 stacks (because we have 9 columns), we will put eacht type of item in a row.

If we exceed those 6 rows, we will try to fit it in columns.

If we can't fit it into colums as well, we just put all the items ordered from left to right and top to bottom.
In any case, non-full stacks are merged with other non-full stacks of the same item type.
We also sort based on durability. The item with the least amount of damage will be first, the rest will follow in descending order.

下载 Spectra Better Chests
下载 Spectra Better Chests
下载 Spectra Better Chests
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spectra Better Chests
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spectra Better Chests
下载 Spectra Better Chests
下载 Spectra Better Chests
下载 Spectra Better Chests
下载 Spectra Better Chests
下载 Spectra Better Chests
已更新至 1.21.11
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧