Sensible Stackables
此模组允许增加物品的堆叠上限,同时提供平衡的默认值:
- 药水:3
- 鞍:16
- 挽具:16
- 船:16
- 矿车:16
- 床:16
- 炖菜和汤:16
- 附魔书:64
- 末影珍珠:64
- 雪球:64
- 鸡蛋:64
- 马铠:64
- 音乐唱片:64
- 旗帜图案:64
- 蛋糕:16
此外,喷溅型和滞留型药水拥有 1 秒的使用冷却时间,以防止频繁投掷药水的滥用行为;多个界面也已修补以支持物品堆叠。
该模组还可用于解除原版堆叠上限限制,并设置任意你需要的数值,请参阅下方的说明。
配置
建议使用游戏内的配置界面来配置此模组,因为其中包含带有自动补全功能的物品建议,并且大多数选项都通过工具提示进行了说明。
也可以通过编辑 config/sensible_stackables 文件夹中的 .toml 文件手动配置此模组。
配置支持为单个物品或物品标签定义堆叠大小,例如:
- 添加
"minecraft:totem_of_undying"并将值设为 16,将允许不死图腾最多堆叠至 16 个 - 添加
"#minecraft:banners"并将值设为 64,将允许所有旗帜类物品最多堆叠至 64 个(#表示这是一个物品标签) - 添加
"#c:buckets"并将值设为 64,将允许所有类型的桶最多堆叠至 64 个(c是通用标签的命名空间,可在此处查看可用的通用标签 here) - 添加
"#sensible_stackables:all_block_items"并将值设为 1,将使所有方块仅能堆叠至 1 个(此模组提供的动态标签,仅在 3.0.0 及以上版本中可用)
解除最大堆叠上限
在模组配置中将 uncapStackSize(GUI 配置中显示为 "Uncap stack size")设置为 true,将允许为物品设置超过 64 的堆叠大小,并应用必要的补丁以防止大堆叠数量引发的错误。当物品数量大于 999 时,GUI 和物品工具提示中会缩短显示数量,但工具提示仍会显示堆叠的精确物品数量。
随后可将 commonStackSize(GUI 配置中显示为 "Common stack size")从 64 提高到一个更高的值,从而为所有使用默认堆叠大小的物品设置一个“全局”最大堆叠大小。不使用默认堆叠大小的物品(如药水、船、附魔书等)仍需手动定义其堆叠大小。
为了与 Reliable Recount 等模组兼容,可以切换开启或关闭物品数量显示的更改功能,包括缩短显示、缩放以及物品数量工具提示。
警告:虽然理论上你可以将所有物品的最大堆叠大小设置为约 21 亿,但使用超过 100,000 的数值可能会导致性能问题。例如,同时合成 100,000+ 件物品或从切石机中取出 100,000+ 件物品会使游戏暂时冻结(5-20 秒)。我已将此模组的常见堆叠大小测试设置为 32,768,此时性能仍然合理。请自行承担使用更高数值的風險!
Sensible Stackables
This mod allows increasing the stack size of items, while providing balanced defaults:
- Potions: 3
- Saddle: 16
- Harness: 16
- Boats: 16
- Minecarts: 16
- Beds: 16
- Stews and soups: 16
- Enchanted books: 64
- Ender pearls: 64
- Snowball: 64
- Egg: 64
- Horse armor: 64
- Music discs: 64
- Banner patterns: 64
- Cake: 16
Additionally, splash and lingering potions have a 1-second use cooldown to prevent potion throwing spam, and several menus have been patched to support stacks of items.
The mod can also be used to uncap the vanilla stack size limit and set any value you want, read below for instructions.
Configuration
It's recommended to use the in-game config screen to configure the mod, as there are item suggestions with auto-completion and most things are explained via tooltips.
The mod can also be configured manually by editing .toml files in inside the config/sensible_stackables folder.
The configuration supports defining stack sizes for either single items or item tags, for example:
- Adding
"minecraft:totem_of_undying"with value 16 will allow stacking totems up to 16 - Adding
"#minecraft:banners"with value 64 will allow stacking banners up to 64 (# indicates to the mod that this is an item tag) - Adding
"#c:buckets"with value 64 will allow stacking all types of buckets up to 64 (cis the namespace for conventional tags, see available conventional tags here) - Adding
"#sensible_stackables:all_block_items"with value 1 will make all blocks stack up to 1 only (dynamic tag provided by this mod, only in version 3.0.0 and above)
Uncapping max stack size
Setting uncapStackSize ("Uncap stack size" in GUI config) to true in the mod configuration will allow setting stack sizes above 64 to items and apply necessary patches to prevent bugs with large stack sizes. Item counts larger than 999 will be shortened in the GUI and the item tooltip will display the exact item count of the stack.
commonStackSize ("Common stack size" in GUI config) can then be increased from 64 to a higher value to set a "global" max stack size for all items which use the default stack size. Stack sizes for items which don't use the default stack size (such as potions, boats, enchanted books etc.) still need to be defined manually.
Item count display changes, such as shortening, scaling and the item count tooltip, can be toggled on and off for compatibility with mods like Reliable Recount.
WARNING: While theoretically you can set max stack sizes for everything up to around 2.1 billion, using sizes larger than 100000 can cause performance issues. For example crafting 100000+ items at the same time or taking out 100000+ items from the stonecutter will freeze the game for a while (5-20 seconds). I've tested the mod with common stack size set to 32768 and performance was still reasonable. USE HIGHER VALUES AT YOUR OWN RISK!
下载 Sensible Stackables
下载 Sensible Stackables
下载 Sensible Stackables
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Sensible Stackables
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Sensible Stackables
下载 Sensible Stackables
下载 Sensible Stackables
下载 Sensible Stackables
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Sensible Stackables
下载 Sensible Stackables
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 添加了 NeoForge 26.3 版本支持。
- 修复了堆叠数量未应用于潜影盒和包裹内物品的问题(26.1+)。
- 修复了当物品的堆叠数量低于配方产出数量时,合成无法产生任何结果的问题(26.1+)。
- 现在如果可损坏物品(工具、护甲等)在配置中被列出,将会被跳过,因为原版游戏不允许它们堆叠。
- 修复了熔炉在燃烧堆叠的火桶时会删除桶的问题。现在能够留下物品的燃料只能逐个放置。
- 修复了在 NeoForge 上执行
/reload后堆叠数量未更新,以及在专用服务器上直到第一位玩家加入前堆叠数量未应用的问题。 - 配置中无效的物品或标签 ID 现在会显示警告并跳过,而不是导致服务器崩溃。
- 修复了当堆叠数量超过 100 个物品时,耐久条和冷却叠加层位置错乱的问题(1.21.1)。
- 修复了投掷最后一瓶药水时溅射型药水的冷却时间未生效的问题。
- 当“解除堆叠上限”禁用时,“通用堆叠数量”值高于 99 的部分现在会被限制为 99,而不再是被忽略。
- 修复了当其他模组显示非数字类型的物品计数文本时可能发生的崩溃问题。
- 修复了一个罕见问题:在更新过程中,堆叠数量可能会短暂重置。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧