跳到正文

Better Copper Golem

作者:Thanatoros

Make Copper Golems much smarter sorters with chest content memory. Add support for barrels, shulkers and most modded storage. Fine tune potion sorting and every Copper Golem attribute.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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 -> https://discord.gg/y366spsSjv

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 支持哪些 Minecraft 版本?

Better Copper Golem 支持 Minecraft Java 版 1.21.9–26.3,共 8 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Better Copper Golem 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Thanatoros 的其他作品

查看全部 →