Copper Golem Patch
保持原版铜傀儡的行为不变——它只是让它们真正胜任自己的工作。
原版铜傀儡一转头就会忘记所有事情。每次搬运都是试错:打开一个箱子,检查物品是否合适,走到下一个,重复——有时甚至对同一个错误的箱子反复尝试。Copper Golem Patch 在不改变傀儡应该如何行为的前提下修复了这个问题。
功能
- ? 持久记忆 —— 每个铜傀儡都会记住哪个箱子里放了什么,从而停止在已知不合适的箱子上浪费时间。

- ? 群体知识共享 —— 彼此靠近的铜傀儡会分享它们学到的信息,基于 proximity(距离)。没有全局即时数据库,没有魔法——就像真正的蜂群一样传递知识。

- ? 不再卡住的傀儡 —— 如果某个傀儡手中拿着的物品确实无处可放,它会将其放回铜箱并继续前进,而不是永远拿着钻石在原地游荡。
- ✅ 100% 原版匹配规则 —— 只要箱子是空的 或者 里面已经包含该类型的物品 任何位置,就视为有效的投放点,与原版一致——不仅限于第一个格子。
- ⚙️ 完全可配置 —— 配置文件使用通俗易懂的语言编写,非技术背景的服务器管理员也能轻松上手。
- ? 专为性能打造 —— 经过调优和基准测试,确保不会给你的其他插件带来显著负载。
工作原理
- 当原版 AI 为铜傀儡评估候选箱子时,插件会观察其内容并加以记录。
- 在下一次行动时,傀儡会跳过它已知无效的箱子——无需绕路,也无需浪费那 3 秒的检查动画。
- 彼此靠近的傀儡之间会交换所学信息,因此傀儡无需亲自访问过某个箱子就能知道它的状态。
- 确实无处可放的物品会被退回铜箱,并标记为“暂时无法整理”——同时分享给附近的傀儡——直到有空位为止。
性能
在真实的 Paper 26.1.2 服务器上,使用 /tick query 进行基准测试,对比启用与禁用插件的情况,分别在 5/10/50 和 100 个并发傀儡下运行。经过内部缓存处理后,在 100 个傀儡的情况下,服务器影响仅比 禁用插件 基线多出几毫秒——此插件旨在与其他插件共存于你的服务器中,而非与之竞争资源。
配置
config.yml 中的每一项设置都附带通俗语言的解释——无需了解 Minecraft 插件开发术语。你可以调整 gossip radius(广播半径)、memory size(记忆容量)或 give-up timing(放弃时机),也可以直接使用默认值;开箱即用即可发挥良好效果。
命令
| 命令 |
描述 |
/cgp info |
显示最近的铜傀儡当前记忆的内容 |
/cgp reload |
重新加载配置文件,无需重启服务器 |
/cgp toggle |
快速启用/禁用插件 |
权限:coppergolempatch.admin(默认:op)
兼容性
- Paper 26.1.2
- 无依赖项,无需安装其他插件
- 可随时安全禁用——傀儡会立即回退到纯原版行为
源代码
开源项目——链接见侧边栏。欢迎提交 Issue 和 Pull Request。
Copper Golem Patch
Keeps vanilla Copper Golem behavior intact — it just makes them actually good at their job.
Vanilla Copper Golems forget everything the moment they look away. Every trip is trial and error: open a chest, check if the item fits, walk to the next one, repeat — sometimes for the same wrong chest, over and over. Copper Golem Patch fixes that without changing how golems are supposed to behave.
What it does
- ? Persistent memory — each golem remembers which chest holds what, so it stops wasting trips on chests it already knows are wrong.

- ? Swarm knowledge sharing — golems that wander close to each other share what they've learned, proximity-style. No global instant database, no magic — just golems passing knowledge along like a real swarm.

- ? No more stuck golems — if a golem ends up holding an item that genuinely has nowhere to go, it puts it back in a copper chest and moves on, instead of wandering forever with a diamond in its hand.
- ✅ 100% vanilla matching rules — a chest counts as a valid drop-off if it's empty or already contains that item type anywhere inside it, exactly like vanilla — not just in the first slot.
- ⚙️ Fully configurable, with a config file written in plain English for non-technical server owners.
- ? Built for performance — tuned and benchmarked so it doesn't add meaningful load next to your other plugins.
How it works
- While vanilla AI evaluates candidate chests for a golem, the plugin observes their contents and remembers them.
- On its next pass, the golem skips chests it already knows won't work — no detour, no 3-second examine animation wasted.
- Golems passing near each other exchange what they've learned, so a golem doesn't need to have personally visited a chest to know about it.
- An item that truly has nowhere to go gets returned to a copper chest and marked "unsortable for now" — shared with nearby golems too — until a spot frees up.
Performance
Benchmarked on a real Paper 26.1.2 server with /tick query, plugin enabled vs. disabled, at 5/10/50 and 100 simultaneous golems. After an internal caching pass, server impact at 100 golems sits within a few milliseconds of the plugin-disabled baseline — this plugin is built to run alongside everything else on your server, not compete with it.
Configuration
Every setting in config.yml ships with a plain-language explanation — no Minecraft-plugin-dev jargon required. Tweak the gossip radius, memory size, or give-up timing, or just leave the defaults; they work well out of the box.
Commands
| Command |
Description |
/cgp info |
Shows what the nearest golem currently remembers |
/cgp reload |
Reloads the config without restarting the server |
/cgp toggle |
Quickly enables/disables the plugin |
Permission: coppergolempatch.admin (default: op)
Compatibility
- Paper 26.1.2
- No dependencies, no other plugins required
- Safe to disable at any time — golems fall back to pure vanilla behavior instantly
Source code
Open source — link in the sidebar. Issues and pull requests welcome.
评论 0
登录后参与评分
还没有评论,来抢沙发吧