Summary:
The Copper Golem places items in the first chest it finds with a matching item or that is empty, without scanning all nearby chests first. This greedy logic causes misplacement in structured storage systems and breaks redstone automation.
Steps to Reproduce:
Set up two normal chests within range of a Copper Golem.
Fill the copper chest with stacks of rotten flesh and gold nuggets.
Connect one normal chest to a gold ingot autocrafter (or just a hopper below to simulate the nuggets going somewhere).
Place 9 gold nuggets in this chest and wait until all are used up.Place one stack of rotten flesh in the other chest. Now spawn the copper golem.
Observe which chest the golem places the item into.
Expected Result:
The golem should scan all chests in range. If no chest contains the item, only then it should place it in the first empty chest.
Actual Result:
The golem bypasses the chest that already contains rotten flesh and places the item in the empty chest connected to the gold autocrafter becuase this chest was emptied by the crafter. This contaminates the crafting input and breaks the automation chain.
Suggested Fix:
Implement a full-pass scan of all chests in range. If no chest contains the item, only then should the golem place it in the first empty chest. This mirrors standard inventory logic (common sense) and prevents cross-contamination in redstone builds.
Environment
Java SE (Standard Edition) Development Kit 21 (JDK 21)
Comments 0
No comments.