-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 16w02a, Minecraft 1.13, Minecraft 1.14, Minecraft 1.14.2, 1.15 Pre-release 1, 1.16.1, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4, 20w46a, 20w48a, 20w49a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 21w11a, 21w18a, 21w20a, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w40a, 21w43a, 21w44a, 1.18 Release Candidate 1, 1.18.1, 22w03a, 1.18.2, 22w15a, 1.19 Pre-release 1, 1.19, 1.19.1, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 23w42a, 1.20.4, 1.21, 1.21.1, 1.21.2 Pre-Release 3, 1.21.3
-
Confirmed
-
Mob behaviour
-
Low
-
Gameplay
The Bug:
Iron golems attack hostile mobs within close proximity that are on the same team as them.
By default, iron golems are designed to attack hostile mobs such as zombies, blazes, and skeletons, but when both the iron golem and the hostile mob are on the same team, the iron golem will only attack the given entity if they are incredibly close to them. If the given entity is distant, the iron golem will ignore and not try to attack them.
Steps to Reproduce:
- Create a team by using the command provided below.
/team add MC-95782
- Summon an iron golem that's on the team you just created by using the command provided below.
/summon minecraft:iron_golem ~ ~ ~ {Team:"MC-95782"}
- Now summon a hostile entity, for example, a blaze that's on the same team as the iron golem by using the command provided below.
/summon minecraft:blaze ~ ~ ~ {Team:"MC-95782"}
- Observe the behavior of the iron golem closely.
- Take note as to whether or not iron golems attack hostile mobs within close proximity that are on the same team as them.
Observed Behavior:
Iron golems attack hostile mobs within close proximity that are on the same team as them.
Expected Behavior:
Iron golems would not attack hostile mobs that are on the same team as them under any circumstances.