AllStackable 的更新版本
允许你配置堆叠数量(<99),并使通常不可堆叠的物品变得可以堆叠。
用法
-
/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]:将新值应用于默认堆叠大小为默认值的物品的堆叠大小。(仅适用于尚未被修改的物品。)
-
/allstackable set modified [current value] [new value]:将新值应用于当前堆叠大小为当前值的物品的堆叠大小。(仅适用于已被修改的物品。)
-
/allstackable set all [current value] [new value]:将新值应用于当前堆叠大小为当前值的物品的堆叠大小。(适用于所有物品。)
-
/allstackable config reload:从文件重新加载配置。
-
/allstackable config loadFromGlobal:将全局配置(存储在 Minecraft 的配置文件夹中)加载到你的游戏中。
-
/allstackable config saveToGlobal:将你当前的配置设为全局配置。
-
/allstackable config globalConfigAutoApply [true/false]:是否自动将全局配置应用到每一个新游戏。
-
/allstackable config restore:恢复到上一次的更改。
-
如果你想在不作为操作者的情况下使用此模组,可以在配置文件(位于你的存档文件夹中)中将 "permissionLevel" 从 4 手动改为 0。
-
如果你只想让空的潜影盒堆叠,请在配置文件中手动更改设置(0 -> 1)。
常见问题
[1]. 配置文件存储在哪里?
它们存储在你的世界文件夹中。(还有一个全局配置,它会将设置应用到所有新的存档。仅在开启后生效。)
[2]. 我可以将配置从一个世界迁移到另一个世界吗?
只需将配置文件复制并粘贴到你的新世界,然后使用 /allstackable reload。
[3]. 如果我删除这个模组,我的世界会发生什么?
不用担心,此模组动态更新物品的堆叠大小,并且对数据没有任何改变(尽管你需要手动拆分那些已经堆叠的物品)。如果你重新安装此模组,只要不删除配置文件,所有功能都会恢复。
[4]. 服务器?
此模组在服务器端和客户端都需要安装。服务器会自动通知客户端哪些物品需要修改并进行同步。
[5]. 排序由本模组变为可堆叠的非堆叠物品。
与排序普通物品相同。
[6]. 超过 99 个物品的限制?
不支持。
[7]. 为什么分叉 原始仓库?
原作者似乎不再维护原始仓库。此分叉的唯一目的是实现一些长期停滞的拉取请求,并修复我目前想要解决的各种问题。我不打算将其作为一个硬分叉;也就是说,如果原作者回归,我可能会停止开发。
[8]. 你会支持旧版本吗?
不会。我会更新到新版本,但不会添加对旧版本的支持。如果你愿意,可以随时提交拉取请求以添加这些功能。
注意:
[1]. 在使用/消耗某些类型的堆叠物品(特别是具有特殊功能的物品)之前请先进行测试,因为你可能会全部丢失或遇到意外行为。
[2]. 我不是原作者。你可以在这里找到他们:
An updated version of AllStackable
Allows you configure stack size (<99) and make items that would normally not be stackable, stackable.
Usage
-
/allstackable show all: List all modified items.
-
/allstackable show [item]: Show information about a specified item.
-
/allstackable show hand [player]: Show information about an item in the player's hand.
-
/allstackable reset all: Reset all changes.
-
/allstackable reset [item]: Reset a specified item.
-
/allstackable reset hand [player]: Reset an item in 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 in 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 be the global one.
-
/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 operator, you can manually set the "permissionLevel" from 4 to 0 in the config file (in your save folder).
-
If you want to only stack empty shulkerboxes, change the setting manually in the config files (0 -> 1).
FAQ
[1]. Where is the config file stored?
They are stored in the folder of your world. (There is also a global config, which would apply its settings to all new saves. Only works after you turned it on.)
[2]. Can I migrate the config from one world to another?
Just copy and paste the config file to your new world, then use /allstackable reload.
[3]. What will happen to my world if I delete this mod?
Don't worry, this mod updates items stack size dynamically and changes NOTHING about the data (Though you have to manually split those items that are already stacked). If you reinstall this mod, all features will come back as long as you didn't remove the config file.
[4]. Server?
This mod is required on both servers and clients. The server will automatically let clients know if any item needs to be modified and synced.
[5]. Sorting non-stackable items that are made stackable by this mod.
Identical to sorting normal items.
[6]. Surpass 99-item limit?
Not supported.
[7]. Why fork the original repository?
The original author seems to not be maintaining the original repository. The sole purpose of this fork is to implement some pull requests that have been sitting stale for a long time and fix various issues that I currently would like. I do not plan on this being a hard fork; Meaning, I will probably cease development when or if the original author comes back.
[8]. Will you support older versions?
No. I will update to newer versions but I won't add support for older ones. You can always make a pull request adding these features if you wish.
Notice:
[1]. Test before using/consuming certain types of stacked items (especially those having special functionalities), since you may lose them all or encounter unexpected behaviors.
[2]. I am not the original author. You can find them here:
评论 0
登录后参与评分
还没有评论,来抢沙发吧