-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.14, 1.15.2, 20w17a, 20w18a, 20w19a, 20w20a, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 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, 20w45a, 20w49a, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w07a, 21w08b, 21w11a, 21w18a, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w40a, 21w44a, 1.18 Release Candidate 1, 1.18.1, 22w03a, 1.19.1, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.4, 23w51b, 1.20.6, 1.21, 1.21.3
-
Confirmed
-
Mob behaviour
-
Low
-
Gameplay
The Bug:
Villagers run away from hostile mobs that are on the same team as them.
By default, villagers are designed to run away from hostile mobs such as zombies and husks, but when both the villager and the hostile mob are on the same team, the villager will still try and run away from the given entity.
Steps to Reproduce:
- Create a team by using the command provided below.
/team add MC-150820
- Summon a hostile entity, for example, a husk, along with a villager close to one another that are both on the same team by using the commands provided below.
/summon minecraft:husk ~ ~ ~ {Team:"MC-150820"}
/summon minecraft:villager ~ ~ ~ {Team:"MC-150820"}
- Observe the behavior of the villager closely.
- Take note as to whether or not villagers run away from hostile mobs that are on the same team as them.
Observed Behavior:
Villagers run away from hostile mobs that are on the same team as them.
Expected Behavior:
Villagers would not run away from hostile mobs that are on the same team as them.
- is duplicated by
-
MC-180306 Villagers run from zombies on the same team as them
- Resolved
- relates to
-
MC-193743 Piglins run away from zoglins and zombified piglins that are on the same team as them
- Open
-
MC-108952 Evocation Illagers run away from the player or villagers even when on the same team
- Resolved
-
MC-172304 Piglins, piglin brutes, hoglins, zoglins and axolotls can attack their own teammates
- Resolved