mojira.dev
MC-300830

Copper golems check less copper chests than usual after dropping their item

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:

  1. Re-create the setup in the attached screenshot, with ten copper chests on the left and ten regular chests on the right

  2. Place an item in the copper chest marked by grass

  3. Place a different item in all regular chests

  4. Spawn a copper golem on the chest marked by stone

  5. Wait for the copper golem to open the 7th regular chest (marked by wood)

  6. Interact with the copper golem to make it drop its item

  7. 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".value

shows 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.

Attachments

Comments 0

No comments.

Tis_awesomeness

(Unassigned)

Unconfirmed

(Unassigned)

25w32a, 25w33a

Retrieved