-
Bug
-
Resolution: Fixed
-
Minecraft 1.14.2, 1.14.4, 1.15.1, 1.15.2, 20w13b, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 1.16.2, 20w51a, 1.16.5, 21w05b, 1.17, 1.19 Pre-release 1, 1.20.2
-
None
-
Confirmed
-
Mob behaviour
-
Normal
-
Gameplay
The bug
Using a lead on an iron golem changes their nature so that the will no longer attack hostiles, including a player that attacks them. Found this on an iron golem "farm" using a zombie; dragging 7 golems that were out of range so that they were within aggro and releasing them from the lead caused them to walk around in a somewhat glitchy way, with no apparent path finding (never really leaving the area they were dragged to), and not interested in chasing after the zombie. Lead two more zombies within range and the iron golems ignored them. I even attacked a golem myself and was not attacked.
Other iron golems in the village still act as normal. It only affects the iron golems that have been moved using leads.
To reproduce
- Place a zombie inside of an iron golem trap
- Summon an iron golem
- Leash the iron golem
- Unleash the iron golem
→ The iron golem will try to get to the zombie, but won't succeed, turn around sometimes, and it looks quite confused in general - Close and reopen the world
→ Now the iron golem is as angry onto the zombie as ever
Videos
Survival, village golems: https://youtu.be/sVl5fxA6GAY
Creative, self-built golems: Minecraft 1.15.2 - Singleplayer 2020-04-04 22-25-32.mp4
Code analysis
Code analysis by Chumbanotz can be found in this comment.
- is duplicated by
-
MC-158489 Lead making iron golems wont move
- Resolved
-
MC-158760 Iron Golems AI is broken during raids
- Resolved
-
MC-168649 Iron golem AI becomes broken after getting leashed
- Resolved
-
MC-171065 Iron Golem Leads
- Resolved
-
MC-182953 Golem no longer trace path correctly after being moved by leads
- Resolved
-
MC-214300 Abnormal interaction between iron golem and leash
- Resolved
-
MC-223611 An iron golem will not attack enemy mobs when there is a nearby village.
- Resolved
-
MC-229047 Iron Golems Stuck After "Tethered", Villager Pathfinding Problem
- Resolved
-
MC-266800 Village-spawned Iron golems become peaceful when attached to a lead
- Resolved
- relates to
-
MC-229312 Iron golem pathfinding breaks under specific circumstances after killing the player it was angry at
- Open
-
MC-223450 Lead-broken foxes dont harvest sweet berry bushes
- Resolved
-
MC-189916 Striders don't move on their own after being leashed
- Resolved
-
MC-221754 Leashed wolves no longer attack when unleashed
- Resolved