可堆叠物品自定义

可堆叠物品自定义

一个高度可定制的Minecraft Fabric模组,使物品可堆叠并改变其堆叠数量。

All Stackable

一个高度可定制的 Fabric 模组,能让物品可堆叠并更改它们的堆叠数量。

曾想过将药水、图腾或潜影盒堆叠在一个槽位中吗?或者希望使用你的红石机器来整理由袭击农场产生的图腾?这个模组正是为你准备的!

支持 Fabric 支持 Quilt

Modrinth

视频:https://streamable.com/7htqbn (视频中的问题已经修复!)

下载

Modrinth

CurseForge

Github Action Artifacts

使用说明


中文

  • /allstackable show all: 列出所有修改过的物品.

  • /allstackable show [item]: 显示这个物品的信息.

  • /allstackable show hand [player]: 显示玩家手上的物品信息.

  • /allstackable reset all: 撤销所有更改.

  • /allstackable reset [item]: 撤销对这个物品的更改.

  • /allstackable reset hand [player]: 撤销玩家手上的物品的更改.

  • /allstackable set [itemID] [count]: 更改指定物品的堆叠数量.

  • /allstackable set hand [player]: 更改玩家手上物品的堆叠数量.

  • /allstackable set vanilla [default value] [new value]: 将所有默认堆叠上限为【default value】的物品的堆叠上限设置为【new value】(只对未被修改过的物品生效)

  • /allstackable set modified [current value] [new value]: 将所有被修改过堆叠上限,且为【current value】的物品的堆叠上限设置为【new value】(只对被修改过的物品生效)

  • /allstackable set all [current value] [new value]: 将所有当前堆叠上限为【current value】的物品的堆叠上限设置为【new value】

  • /allstackable config reload: 重新从文件载入配置文件.

  • /allstackable config loadFromGlobal: 为你当前游戏载入全局配置(保存在config文件夹里).

  • /allstackable config saveToGlobal: 让你当前游戏配置成为全局配置.

  • /allstackable config globalConfigAutoApply [true/false]: 是否让新游戏自动使用全局配置,true代表是.

  • /allstackable config restore: 恢复到上次的更变

  • 如果你想在非op或者作弊的情况下使用,你可以把存档文件夹中配置文件里的 "permissionLevel" 从4 改到 0.

  • 如果你想只堆叠空的潜影盒,你可以把存档文件夹中配置文件里的 "stackEmptyShulkerBoxOnly" 从0 改到 1.


英文

  • /allstackable show all: list all modified items.

  • /allstackable show [item]: show information of a specified item.

  • /allstackable show hand [player]: show information about an item on a player's hand.

  • /allstackable reset all: revert all changes.

  • /allstackable reset [item]: reset a specified item.

  • /allstackable reset hand [player]: reset an item on a player's hand.

  • /allstackable set [itemID] [count]: set the max stackable count of a specified item.

  • /allstackable set hand [player]: set the max stackable count of an item on a player's hand.

  • /allstackable set vanilla [default value] [new value]: Apply new value to the stackable size of items whose default size is default value. (Only works for items that haven't been modified.)

  • /allstackable set modified [current value] [new value]: Apply new value to the stackable size of items whose current size is current value. (Only works for items that have been modified.)

  • /allstackable set all [current value] [new value]: Apply new value to the stackable size of items whose current size is current value. (Applies to all items.)

  • /allstackable config reload: Reload config from file.

  • /allstackable config loadFromGlobal: load the global config (stored in minecraft's config folder) to your game.

  • /allstackable config saveToGlobal: Let your current config to be the global config.

  • /allstackable config globalConfigAutoApply [true/false]: whether the global config will be automatically applied to every new game.

  • /allstackable config restore: restore to last change

  • If you want to use this mod without OP/cheat, you can manually set the "permissionLevel" from 4 to 0 in the config file (in your save folder).

  • If you want only stack empty shulkerbox, change the setting manually in the config files (0 -> 1)

常见问题

[1]. 配置文件存储在哪里?

它们存储在你的世界文件夹中。(还有一个全局配置,它会将其设置应用到所有新游戏。只有在你开启后才会生效。)

[2]. 我可以将配置从一个世界迁移到另一个世界吗?

只需将配置文件复制并粘贴到你的新世界,如果你已经在世界中,则使用 /allstackable reload。

[3]. 如果我删除这个模组,我的世界会发生什么?

别担心,这个模组会动态更新物品的堆叠数量,并且不会对数据做出任何更改(尽管你必须手动拆分那些已经堆叠的物品)。如果你重新安装这个模组,只要没有删除配置文件,所有功能都会恢复。

[4]. 服务器?

你必须在两边都安装这个模组。服务器会自动让客户端知道哪些物品需要被修改和同步。

另外,如果你想在控制台中看到反馈信息,请使用 LoganDark 的模组 fabric-languagehack 或类似工具来启用服务器端(服务器命令行)的文本翻译。

[5]. 整理由这个模组变成可堆叠的不可堆叠物品。

与整理普通物品相同。https://streamable.com/11hm1a

[6]. 超过64个物品的上限?

不能

[7]. 我发现了 Bug!/ 这个模组不工作!/ 其他任何问题

报告!

注意:

(一些与 Minecraft 代码工作方式相关问题)

[1]. 在使用/消耗某些类型的堆叠物品(尤其是那些具有特殊功能的物品)之前,请先进行测试,因为你可能会失去它们或遇到意外行为。(尽管大多数问题在之前的版本中已经修复,如果你发现新的 Bug,请告诉我。)

如果你喜欢,可以看看我的其他模组!:)


感谢

  • luaanon 为此贡献了一些修复