If a player makes a copper golem drop its item after the golem has checked one or more chests, it will check less than 10 copper chests for items before giving up. Specifically, if a copper golem has visited N chests (or has checked N - 1 chests and is walking to chest N) when its item is dropped, it will only visit 10 - N copper chests before giving up.
To reproduce:
Re-create the setup in the attached screenshot, with ten copper chests on the left and ten regular chests on the right
Place an item in the copper chest marked by grass
Place a different item in all regular chests
Spawn a copper golem on the chest marked by stone
Wait for the copper golem to open the 7th regular chest (marked by wood)
Interact with the copper golem to make it drop its item
Observe that the copper golem only checks up to the 3rd copper chest (marked by wool) before stopping for 7 seconds.
Getting the copper golemβs visited chests while it is walking over the the copper chests with:
/data get entity @n[type=minecraft:copper_golem] Brain.memories."minecraft:visited_block_positions".valueshows that the copper golem has 8 visited chests: the 7 regular chests plus the copper chest it is walking to. Since the visited block positions are not cleared when dropping an item, the copper golem only needs to check the copper chest it is walking to plus two more to hit the 10-chest limit.
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support (Technical Issues) β π§ Microsoft Support (Account Issues)
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki