Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-150820

Villagers run away from hostile mobs that are on the same team as them

XMLWordPrintable

    • Icon: Bug 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
    • 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:

      1. Create a team by using the command provided below.
        /team add MC-150820
      2. 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"}
      3. Observe the behavior of the villager closely.
      4. 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.

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            14 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              CHK: