Smart Copper Golem
English | 简体中文 | 繁體中文
本模组完全在服务端实现;客户端仅提供 Mod Menu 集成。
Mojang 在涉及“为玩家带来便利”的功能上一直极为谨慎,铜傀儡便是其中的典型例子。
它们被设计为仅能在两个箱子之间进行简单的物品搬运,且数量非常有限。一旦遇到无法插入的物品,它们就会陷入无限循环。
Smart Copper Golem 旨在赋予铜傀儡更智能的行为,使其能够更高效地管理物品。
特性
? 深度记忆
- 当访问箱子时,铜傀儡会记住箱内的物品类型。
- 从铜箱子拾取物品时,铜傀儡会优先处理其记忆中存在的物品。
- 铜傀儡之间可以共享记忆,从而提升集体学习的效率。
? 目标选择
-
铜傀儡现在可以打开桶(Barrels)和潜影盒(Shulker Boxes)。
-
新增的“相似物品”匹配模式允许铜傀儡将相似物品(例如不同颜色的羊毛、具有不同耐久度的铁砧等)放入同一个箱子中。
-
当手中的物品无法插入任何目标容器时,铜傀儡会将其放回铜箱子,并在一段时间内忽略该物品。
-
铜傀儡不再盲目地循环遍历目标。现在它们遵循以下优先级规则:
- 优先选择交互范围内的可交互容器(在紧凑存储结构中特别有效)
- 优先选择与当前物品相关的已记忆容器
?️ 寻路与交互
- 采用比原版更稳健的寻路算法,对复杂地形具有更高的容错率。
- 交互检测更加准确——如果玩家可以与某个容器交互,铜傀儡也可以。
⚙️ 配置
部分核心参数可通过配置文件进行调整:
- 搜索范围、交互范围。
- 物品匹配模式。最大携带物品数。
- 记忆衰减时间、忽略持续时间等。
兼容性
本模组完全重写了铜傀儡的行为逻辑,因此可能与同样修改铜傀儡的其他模组不兼容。
如果您的服务器依赖铜傀儡来运行红石机器,这些机器可能无法正常工作。
配置
配置文件位于 config/smart-copper-golem.json。
- 选项 1:直接编辑 JSON 文件
- 选项 2:通过 Mod Menu 进行可视化配置
许可证
- AGPL-3.0(详见项目中的
LICENSE.txt 文件)
Smart Copper Golem
English | 简体中文 | 繁體中文
This mod is implemented entirely server-side; the client only provides Mod Menu integration.
Mojang has been extremely cautious when it comes to "benefiting players," and the Copper Golem is a prime example.
They were designed to move only a very small number of items from one chest to another with a simple traversal. Once they encounter an item that cannot be inserted, they can fall into an endless loop.
Smart Copper Golem aims to give Copper Golems smarter behavior so they can manage items more efficiently.
Features
? Deep Memory
- When accessing a chest, a Copper Golem remembers the types of items inside.
- When picking up items from the Copper Chest, a Copper Golem prioritizes items that exist in its memory.
- Copper Golems exchange memories with each other, making collective learning more efficient.
? Target Selection
-
Copper Golems can now open Barrels and Shulker Boxes.
-
A new item matching mode, "Similar Items," allows Copper Golems to put similar items (e.g., different-colored wool, anvils with different damage levels, etc.) into the same chest.
-
When the item in hand cannot be inserted into any target container, a Copper Golem will return it to the Copper Chest and ignore that item for a period of time.
-
Copper Golems no longer cycle through targets aimlessly. They now follow these priority rules:
- Prefer interactable containers within interaction range (especially effective in compact storage builds)
- Prefer remembered containers that are relevant to the item
?️ Pathfinding & Interaction
- Uses a more robust pathfinding approach than vanilla, with higher fault tolerance for complex terrain.
- More accurate interaction checks—if a player can interact with a container, a Copper Golem can too.
⚙️ Configuration
Some core parameters can be adjusted via the config file:
- Search range, interaction range.
- Item matching mode. maximum items carried.
- Memory decay time, ignore duration, and more.
Compatibility
This mod fully reworks Copper Golem behavior, so it may be incompatible with other mods that also modify Copper Golems.
If your server relies on Copper Golems for redstone machines, those machines may not function properly.
Configuration
The config file is located at config/smart-copper-golem.json.
- Option 1: Edit the JSON file directly
- Option 2: Configure visually via Mod Menu
License
- AGPL-3.0 (see
LICENSE.txt in the project for details)
评论 0
登录后参与评分
还没有评论,来抢沙发吧