SmarterCopperGolems 扩展了原版 铜傀儡的行为。现在,铜傀儡可以为你整理储物箱,并在向箱子放入物品时表现得更加智能。
你可以选择让傀儡变得更聪明,或者让它们像客户端的物品栏整理模组那样完全替你整理箱子,但这种方式更贴合原版体验。
使用方法
-
在普通箱子附近放置一个铜制箱子。原版默认的搜索范围约为水平方向 32 格、垂直方向 8 格。
-
潜行并右键点击已配置的箱子控制物品(默认为铜锭)来启用该箱子的整理功能。
-
整理后的箱子第一列用作标签:
- 在每行最左侧的槽位中放入对应的物品类型。
- 右侧的八个槽位是该物品的存储通道。物品按 ItemType 进行整理,忽略数据组件(data components)。
- 傀儡会寻找附近有对应物品存储通道的箱子,因此你可以轻松设置诸如“木材箱”、“石材箱”、“工具箱”等分类。
-
潜行并右键点击铜傀儡以切换其模式(使用配置好的傀儡控制物品,默认为铜锭):
VANILLA:保持原版 Minecraft 行为不变。
STACK:投递后合并相同的物品堆。
SORT:优先匹配整理通道,缓慢修复已有的错位同类物品,若无匹配的通道可用,则回退到未整理的箱子。

配置
默认的控制物品是铜锭,且无需消耗。每次交互可以使用不同的物品,并可选择性地消耗一定数量:
interactions:
golem-mode:
item: COPPER_INGOT
amount: 0
chest-sorting:
item: COPPER_INGOT
amount: 0
将 amount 设置为大于零的值,以便在成功交互时从玩家主手消耗相应数量的物品。
所有面向玩家的提示消息以及整理后箱子的标题均支持 MiniMessage 格式进行自定义配置。
本模组不提供权限或命令。
SmarterCopperGolems extends normal Copper Golem behavior. Copper Golems can now organize storage chests for you and generally behave smarter when putting items into chests.
You can just make golems smarter, or even have them fully sort chests for you, similar to client-side inventory sorting mods but in a more vanilla-friendly way.
How to use it
-
Put a copper chest near normal chests. The normal vanilla search range is about 32 blocks horizontally and 8 vertically.
-
Sneak-right-click a normal chest with the configured chest-control item (copper ingot by default) to enable sorting for that chest.
-
A sorted chest's first column acts as labels:
- Put the item type for each row in the first slot on the left.
- The eight slots to the right are that item's storage lane. Items are sorted by ItemType, ignoring data components.
- Golems will look for nearby chests that have a storage lane for the items they are holding, so you can have e.g. a "wood chest", "stone chest", "tools chest" etc easily.
-
Sneak-right-click a Copper Golem with the configured golem-control item (copper ingot by default) to cycle its mode:
VANILLA: unchanged Minecraft behavior.
STACK: merges identical stacks after delivery.
SORT: prefers matching sorted lanes, slowly fixes existing misplaced matching items, and falls back to unsorted chests when no matching lane has room.

Configuration
The default control item is a copper ingot and costs nothing. Each interaction can use a different item and optionally consume an amount:
interactions:
golem-mode:
item: COPPER_INGOT
amount: 0
chest-sorting:
item: COPPER_INGOT
amount: 0
Set amount above zero to consume that many items from the player's main hand on a successful interaction.
All player-facing messages and the sorted chest title are configurable with MiniMessage support.
There are no permissions or commands.
评论 0
登录后参与评分
还没有评论,来抢沙发吧