Better Copper Golem
让铜傀儡成为更智能的分类器。它们会记住检查过的箱子中存放的物品,找到之前无法到达的容器,将物品分类到木桶、潜影盒和模组存储容器中,并且你可以调整每个铜傀儡的各项属性。
功能
支持更多种类的容器进行分拣
- 支持木桶、潜影盒以及模组提供的存储容器,如 Iron Chests、Storage Drawers、Sophisticated Backpacks/Storage 和 Refined Storage。每种类型的容器都可以在配置中开启或关闭。
- 通过数据包方块标签
bettercoppergolem:valid_destinations,可以将任何容器设为有效的目标位置。
容器内容记忆
- 傀儡会记住它们访问过的容器中存放的物品,并直接走向正确的容器,而不是反复检查错误的箱子。
- 记忆与傀儡本身绑定保存,因此即使区块卸载或离开/重新进入世界,记忆也不会丢失。
- 你可以在配置中设置附近的傀儡互相分享它们所记得的信息。
- 手持空物品右键点击铜傀儡可以使其遗忘记忆(如果你开启了记忆共享,其他傀儡也会随之遗忘)。
更智能的路径规划
- 傀儡可以走到它们能到达的任何箱子处,不需要先看到箱子。由箱子组成的墙壁以及楼梯旁上下堆叠的箱子都能正常工作。
- 它们会绕过墙壁而不是撞上去,如果无法到达某个箱子,它们会放弃而不是永远站在箱子前。
- 只能从上方打开的箱子(如嵌入地板的箱子)以及位于傀儡斜下方的箱子(如在楼梯上或堆叠的箱子)也可以使用。
- 你可以在配置中增加探测范围,甚至穿透薄墙。
- 系统会检查距离傀儡 48 格以内的箱子是否存在真实可行走路径。通过扩大搜索范围,你可以开启
ALWAYS_PATHFIND来检查所有箱子,但这会带来性能开销。
更优的分拣决策
- 药水与附魔箭头的分拣:你可以精确指定傀儡如何区分药水变体(普通 / 喷溅型 / 滞留型)和附魔箭头,提供 30 种操作模式。
- 优先将物品放入已经存有该物品的箱子中,空箱子是最后的选择。
- 将相似物品放在一起,例如将所有颜色的羊毛或所有木材类型的台阶归类(使用 Minecraft 物品标签)。
- 傀儡会先补全箱子里已有的物品堆,然后再使用空槽位。你可以在配置中让它们像原版那样按顺序填满槽位。
- 无处可放的物品会被退回铜制箱子并在一段时间内被忽略,而不是让傀儡永远拿着它。这种记忆在重载后也会保留。
溢出箱
- 手持红石右键点击铜傀儡(可以选择多个傀儡),然后在 30 秒内手持红石右键点击一个箱子或木桶。
- 傀儡无法分类到其他地方的物品会进入溢出箱,无论溢出箱里原本有什么,这样拥有单个溢出箱的分类器在任何携带容量下都能工作。
- 手持红石右键点击傀儡还会显示其当前的溢出箱。
- 破坏该箱子,或使傀儡遗忘(手持空物品右键点击),即可移除溢出箱设置。
自定义各项数值
移动速度、携带容量、箱子搜索范围(水平和垂直方向)、最大生命值、交互速度、探测距离以及傀儡检查的容器数量。
命令
你可以在游戏中更改设置,无需重启游戏:
/bettercoppergolem- 模组版本/bettercoppergolem.HELP- 帮助信息/bettercoppergolem.CONFIG- 显示所有当前设置/bettercoppergolem.RELOAD_CONFIG- 重载配置文件/bettercoppergolem.<SETTING> <value>- 更改某项设置,例如/bettercoppergolem.CARRY_SIZE 32
更改设置需要操作员权限。MOVEMENT_SPEED 和 MAX_HEALTH 仅影响你在重启游戏后创建的铜傀儡。
配置文件
通常位于 %appdata% -> .minecraft -> config -> bettercoppergolemconfig.properties
| 设置项 | 默认值 | 范围 | 作用说明 |
|---|---|---|---|
| OPERATION_MODE | 19 | 1 - 30 | 傀儡区分药水与附魔箭的方式,详见下方列表 |
| POTION_TYPES | 1 | -1, 0, 1 | 1:普通、喷溅和滞留药水分别归类。0:它们混合归类(滞留再生药水归入喷溅再生药水类)。-1:药水混合归类,但附魔箭单独归类 |
| MOVEMENT_SPEED | 1 | 1 - 10 | 移动速度倍率 |
| CARRY_SIZE | 16 | 8 - 64 | 傀儡单次可携带的物品数量 |
| HORIZONTAL_RANGE | 64 | 4 - 1000 | 箱子的水平搜索范围 |
| VERTICAL_RANGE | 16 | 2 - 200 | 箱子的垂直搜索范围 |
| MAX_HEALTH | 12 | 6 - 64 | 傀儡的生命值 |
| INTERACTION_SPEED | 60 | 1 - 300 | 傀儡处理容器所需的时间,单位为刻(20刻 = 1秒) |
| INTERACTION_RANGE | 1 | 1 - 8 | 傀儡的交互距离(方块数)。大于1时,傀儡可以穿透薄墙进行交互 |
| MAX_CHESTS | 10 | 1 - 1000 | 傀儡检查的容器数量上限 |
| BARRELS_SUPPORT | true | true/false | 傀儡可以使用木桶 |
| SHULKERS_SUPPORT | true | true/false | 傀儡可以使用潜影盒 |
| MODDED_SUPPORT | true | true/false | 傀儡可以使用模组添加的容器 |
| REMEMBER_CHEST_CONTENTS | true | true/false | 傀儡在访问后记住箱子的内容物 |
| SHARE_MEMORY | false | true/false | 附近的傀儡共享记忆(需要启用 REMEMBER_CHEST_CONTENTS) |
| MEMORY_SHARE_RANGE | 8 | 1 - 64 | 傀儡之间共享记忆的最大距离,单位为方块 |
| PRIORITIZE_FILLED_CHESTS | false | true/false | 优先将物品放入已有同类物品的箱子,空箱子作为最后选择 |
| SIMILAR_ITEMS | false | true/false | 将相似物品放入同一箱子(如羊毛颜色、木材类型、损坏的工具) |
| RETURN_UNPLACEABLE | false | true/false | 无法放置的物品返回铜箱子,并在 IGNORE_DURATION 时间内被忽略 |
| IGNORE_DURATION | 1200 | 100 - 24000 | 被退回的物品被忽略的时间长度,单位为刻(1200 = 60秒) |
| PRIORITIZE_EXISTING_STACKS | true | true/false | 傀儡优先补充箱子中已有的堆叠物品,而非使用空槽位。false 为原版行为:物品按顺序放入第一个空槽或匹配槽位 |
| ALWAYS_PATHFIND | false | true/false | 傀儡会为其搜索范围内的每个箱子计算实际行走路径。若设为 false,则仅对48格以内的箱子计算路径,更远者通过视线判断。警告: 若 HORIZONTAL_RANGE 或 VERTICAL_RANGE 设置过大,可能导致服务器严重卡顿 |
操作模式
模式 1 - 4:傀儡仅根据药水效果区分物品。力量药水不同于再生药水,但力量药水 I 与力量药水 II 视为相同。
- 1 = 药水
- 2 = 喷溅药水
- 3 = 滞留药水
- 4 = 附魔箭
模式 5 - 8:傀儡根据药水效果和等级区分物品。力量药水不同于再生药水,且力量药水 I 也不同于力量药水 II。
- 5 = 药水
- 6 = 喷溅药水
- 7 = 滞留药水
- 8 = 附魔箭
模式 9 - 30 为组合模式:
| 模式 | 组合方式 | 模式 | 组合方式 |
|---|---|---|---|
| 9 | 1 + 2 | 20 | 5 + 6 |
| 10 | 1 + 3 | 21 | 5 + 7 |
| 11 | 1 + 4 | 22 | 5 + 8 |
| 12 | 2 + 3 | 23 | 6 + 7 |
| 13 | 2 + 4 | 24 | 6 + 8 |
| 14 | 3 + 4 | 25 | 7 + 8 |
| 15 | 1 + 2 + 3 | 26 | 5 + 6 + 7 |
| 16 | 2 + 3 + 4 | 27 | 6 + 7 + 8 |
| 17 | 1 + 3 + 4 | 28 | 5 + 7 + 8 |
| 18 | 1 + 2 + 4 | 29 | 5 + 6 + 8 |
| 19 (默认) | 1 + 2 + 3 + 4 | 30 | 5 + 6 + 7 + 8 |
常见问题
我遇到了问题/错误/崩溃/报告/建议,在哪里可以联系你?
请使用我的 Discord 服务器,点击此处加入 ->
我可以将这个模组放入我的整合包吗?
可以,但不得重新上传/分发该模组并声称是你的作品,必须正确署名。
这个模组支持服务器端吗?
支持。
玩家能否利用此模组在服务器上破坏?
绝对不行。该模组必须在服务器端安装才能正常工作。
我使用了 Carry on 模组,如何重置傀儡的记忆?
你需要在主手或副手装备任意物品,然后按住 Shift(潜行)右键点击傀儡以清除其记忆。
Better Copper Golem
Make Copper Golems much smarter sorters. They remember what is inside the chests they checked, find their way to containers they couldn't reach before, sort into barrels, shulker boxes and modded storage, and you can tune every Copper Golem attribute.
Features
Sorts into more than chests
- Barrels, shulker boxes and modded storage like Iron Chests, Storage Drawers, Sophisticated Backpacks/Storage and Refined Storage. Each category can be turned on or off.
- Make any container a valid destination with the datapack block tag
bettercoppergolem:valid_destinations.
Chest content memory
- Golems remember what is inside the containers they visited and walk straight to the right one, instead of checking the wrong chests on repeat.
- The memory is saved with the golem, so it survives chunk unloading and leaving/rejoining the world.
- You can set in config that nearby golems share what they remember with each other.
- Sneak right click a copper golem with an empty hand to make it forget what it remembers (if you have sharing memory turned on other golems will forget too).
Smarter pathing
- Golems walk to any chest they can reach, they don't need to see it first. Walls of chest and chests stacked on each other next to staircase work.
- They walk around walls instead of into them, and give up on a chest they can't reach instead of standing in front of it forever.
- Chests that only open from above (like a chest sunk into the floor) and chests diagonally below the golem (from a stair, or stacked chests) can be used.
- You can config longer reach, even through a thin wall.
- Chests up to 48 blocks away are checked for a real walking path. With a bigger search range you can turn on ALWAYS_PATHFIND to check every chest, at a performance cost.
Better sorting decisions
- Potion and tipped arrow sorting: choose exactly how golems tell potion variants (normal / splash / lingering) and tipped arrows apart, with 30 operation modes.
- Put items into chests that already have them first, empty chests are the last resort.
- Put similar items together, like all colors of wool or stairs of every wood type (uses Minecraft item tags).
- Golems top up stacks that are already in the chest before using an empty slot. You can config them to fill slots in order like vanilla does.
- An item that fits nowhere goes back to the copper chest and is ignored for a while, instead of the golem carrying it around forever. The golem remembers this across reloads too.
Overflow chest
- Sneak right click copper golems with redstone (you can pick multiple golems), then right click a chest or barrel with redstone within 30 seconds.
- Items a golem cant sort anywhere else go into the overflow chest, whatever it already holds, so a sorter with one overflow chest works at any carry size.
- Sneak right clicking a golem with redstone also shows its current overflow chest.
- Breaking the chest, or making the golem forget (sneak right click with an empty hand), removes it.
Change every stat
Movement speed, carry size, chest search range (horizontal and vertical), max health, interaction speed, reach and how many containers a golem checks.
Commands
You can change settings in game, no restart needed:
/bettercoppergolem- mod version/bettercoppergolem.HELP- help/bettercoppergolem.CONFIG- shows all current settings/bettercoppergolem.RELOAD_CONFIG- reloads the config file/bettercoppergolem.<SETTING> <value>- changes one setting, for example/bettercoppergolem.CARRY_SIZE 32
Changing settings needs operator permission. MOVEMENT_SPEED and MAX_HEALTH only affect copper golems created after you restart the game.
Config
Usually (%appdata% -> .minecraft -> config -> bettercoppergolemconfig.properties)
| Setting | Default | Range | What it does |
|---|---|---|---|
| OPERATION_MODE | 19 | 1 - 30 | How golems tell potions and tipped arrows apart, see the list below |
| POTION_TYPES | 1 | -1, 0, 1 | 1: normal, splash and lingering potions are sorted separately. 0: they are sorted together (lingering potion of regeneration goes with splash potion of regeneration). -1: potions are sorted together, but tipped arrows separately |
| MOVEMENT_SPEED | 1 | 1 - 10 | Speed multiplier |
| CARRY_SIZE | 16 | 8 - 64 | How many items a golem carries at once |
| HORIZONTAL_RANGE | 64 | 4 - 1000 | Chest horizontal search range |
| VERTICAL_RANGE | 16 | 2 - 200 | Chest vertical search range |
| MAX_HEALTH | 12 | 6 - 64 | Golem health |
| INTERACTION_SPEED | 60 | 1 - 300 | How long a golem takes at a container, in ticks (20 ticks = 1 second) |
| INTERACTION_RANGE | 1 | 1 - 8 | Golem reach in blocks. Above 1 golems can reach through thin walls |
| MAX_CHESTS | 10 | 1 - 1000 | How many containers a golem checks |
| BARRELS_SUPPORT | true | true/false | Golems can use barrels |
| SHULKERS_SUPPORT | true | true/false | Golems can use shulker boxes |
| MODDED_SUPPORT | true | true/false | Golems can use modded containers |
| REMEMBER_CHEST_CONTENTS | true | true/false | Golems remember chest contents after visiting them |
| SHARE_MEMORY | false | true/false | Nearby golems share what they remember (needs REMEMBER_CHEST_CONTENTS) |
| MEMORY_SHARE_RANGE | 8 | 1 - 64 | How close golems have to be to share memory, in blocks |
| PRIORITIZE_FILLED_CHESTS | false | true/false | Put items into chests that already have them first, empty chests are the last resort |
| SIMILAR_ITEMS | false | true/false | Put similar items into the same chest (colors of wool, wood types, damaged tools) |
| RETURN_UNPLACEABLE | false | true/false | An item that fits nowhere goes back to the copper chest and is ignored for IGNORE_DURATION |
| IGNORE_DURATION | 1200 | 100 - 24000 | How long a returned item is ignored, in ticks (1200 = 60 seconds) |
| PRIORITIZE_EXISTING_STACKS | true | true/false | Golems top up stacks already in the chest before using an empty slot. false is vanilla: items go into the first empty or matching slot in order |
| ALWAYS_PATHFIND | false | true/false | Golems check a real walking path to every chest in their search range. With false they do that up to 48 blocks away and judge further chests by sight. Warning: with a big HORIZONTAL_RANGE or VERTICAL_RANGE this can cause heavy server lag |
Operation modes
Modes 1 - 4: golems see the difference in potion effect only. Potion of Strength is not the same as Potion of Regeneration, but Potion of Strength is the same as Potion of Strength II.
- 1 = potions
- 2 = splash potions
- 3 = lingering potions
- 4 = tipped arrows
Modes 5 - 8: golems see the difference in potion effect and level. Potion of Strength is not the same as Potion of Regeneration, and Potion of Strength is not the same as Potion of Strength II.
- 5 = potions
- 6 = splash potions
- 7 = lingering potions
- 8 = tipped arrows
Modes 9 - 30 combine them:
| Mode | Combines | Mode | Combines |
|---|---|---|---|
| 9 | 1 + 2 | 20 | 5 + 6 |
| 10 | 1 + 3 | 21 | 5 + 7 |
| 11 | 1 + 4 | 22 | 5 + 8 |
| 12 | 2 + 3 | 23 | 6 + 7 |
| 13 | 2 + 4 | 24 | 6 + 8 |
| 14 | 3 + 4 | 25 | 7 + 8 |
| 15 | 1 + 2 + 3 | 26 | 5 + 6 + 7 |
| 16 | 2 + 3 + 4 | 27 | 6 + 7 + 8 |
| 17 | 1 + 3 + 4 | 28 | 5 + 7 + 8 |
| 18 | 1 + 2 + 4 | 29 | 5 + 6 + 8 |
| 19 (default) | 1 + 2 + 3 + 4 | 30 | 5 + 6 + 7 + 8 |
FAQ
I have an issue / bug / crash / report / request, where can I contact you about it ?
Use my Discord server, you can join it here ->
Can I put this mod into my modpack ?
Yes you can, but without reuploading/redistributing the mod as yours and giving credit where credit is due.
Does this mod support servers ?
Yes it does.
Can players use this mod to grief on servers ?
Absolutely not. This mod is required on server itself to work.
I use Carry on mod, how to reset golem memory?
You have to have something equipped in offhand and shift(sneak) right click golem to clear its memory.
下载 Better Copper Golem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Copper Golem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Copper Golem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Copper Golem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Copper Golem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Copper Golem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Copper Golem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Copper Golem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Copper Golem
下载 Better Copper Golem
我建议在更新任何内容之前,始终备份你的世界。
免责声明:我无法测试所有模组加载器与所有 Minecraft 版本,因此大多数代码是从最新版本复制粘贴的,已修复以使其能够编译,但未在游戏中进行测试。如果你遇到错误,请在下方的 Discord 中报告它们,谢谢。
请将问题报告至我的 Discord:
2.8.2
- 修复:
- 手持药水或染箭且无合适箱子存放的傀儡会反复打开和关闭同一个箱子,而不会使用溢出箱或将物品归还给铜箱(感谢 Nexus Null 提交错误报告)
- 傀儡会不断重新打开一个无法容纳其物品的双箱,因为仅计算了它们走到的那一半作为已检查
我建议在更新任何内容之前,始终备份你的世界。
免责声明:我无法测试所有模组加载器与所有 Minecraft 版本,因此大多数内容是复制自最新版本并修复以编译的代码,未经过游戏内测试。如果你遇到 bug,请在下方的 Discord 中报告,谢谢。
请将问题反馈至我的 Discord:
2.8.1
- 修复:
- 拥有大量箱子时的服务器卡顿尖峰(服务器运行几分钟后出现大量拉扯现象)(感谢 KillerDelta 提交 bug 报告)
建议在更新任何内容之前,始终为您的世界创建备份。
免责声明:我无法测试所有模组加载器与所有 Minecraft 版本,因此大部分代码是从最新版本复制粘贴而来,仅修复了编译问题,并未经过游戏内测试。如果您遇到错误,请在下方的 Discord 中报告,谢谢。
请将问题报告至我的 Discord:
2.8.0
- 新功能:
- 新增配置选项 ALWAYS_PATHFIND(默认 false):傀儡会在其搜索范围内检查通往每个箱子的实际行走路径,而不仅仅是 48 格以内。当 HORIZONTAL_RANGE(水平范围)或 VERTICAL_RANGE(垂直范围)较大时,可能导致服务器严重卡顿。
- 修复:
- 傀儡曾持续尝试前往超过 16 格且无法到达的箱子(例如墙壁另一侧的许多箱子),并手持物品而非使用溢出箱子。现在它会检查是否能实际走到 48 格以内的箱子;如果某个更远的箱子导致其卡住,则该箱子将在 5 分钟内被跳过。(感谢 Kingfisher 提交错误报告并协助排查原因)
建议您在更新任何内容之前,始终对世界进行备份。
免责声明:由于我无法测试所有模组加载器与所有 Minecraft 版本,因此大部分代码是从最新版本复制粘贴而来,已修复以使其能够编译,但未经过游戏内测试。如果您遇到任何错误,请通过下方的 Discord 联系我们,谢谢。
请将问题反馈至我的 Discord:
2.7.3
- 修复:
- 傀儡在每次交付后都会返回到无法触及的铜箱子处,并最终被困在那里。现在,它们会跳过无法行走到达的铜箱子,并在 5 分钟内放弃尝试不可达的箱子。
- 当傀儡将物品放入储物抽屉时,如果空闲的抽屉被拉出或锁定,物品会被删除。现在,傀儡会保留该物品,并且不再选择该抽屉。
建议在更新任何内容之前,始终备份你的世界。
免责声明:我无法测试所有模组加载器与所有 Minecraft 版本,因此大部分代码是从最新版本复制粘贴并修复以编译通过的,但未经游戏内测试。如果你遇到 bug,请在下方的 Discord 中报告,谢谢。
请将问题反馈至我的 Discord:
2.7.2
- 修复:
- 当傀儡比较药水或带有无基础药水类型的灌注箭时崩溃的问题
- 向超出搜索范围的溢出箱子投递物品的傀儡可能会卡住,现在它们会返回到铜箱处
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧