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

Piglins, piglin brutes, hoglins, zoglins and axolotls can attack their own teammates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w20a
    • 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 4, 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, 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, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w05b, 21w07a, 21w08b, 21w10a, 21w11a, 21w18a, 21w19a
    • None
    • Confirmed
    • Commands, Mob behaviour
    • Normal

      The bug

      Piglins, piglin brutes, hoglins, zoglins and axolotls can attack or be attacked in the same team. They will also attack players, wither skeletons and withers that are in the same team.

      How to reproduce

      Piglin hunting hoglin teammates

      1. Create a team
      2. Summon piglin and hoglin with the Team tag
      3. Wait for the piglins to become hungry
        → Eventually, the hungry piglin will have to hunt its own teammate for food, and the hoglin will retaliate on its teammates.

      Zoglin attacking teammates

      1. Create team
      2. Summon zoglin with the Team tag
      3. Spawn any random mob in the same team where the zoglin is
        → The zoglin will automatically attack its teammates.

      Piglin Brute attacking teammates

      1. Create team
      2. Summon brute with the Team tag
      3. Add player to the Team
        → The brute will automatically attack, despite being in the same team.

       

        1. javaw 12-04-2020 15-54-37-768.png
          javaw 12-04-2020 15-54-37-768.png
          558 kB
        2. javaw 12-04-2020 15-54-33-827.png
          javaw 12-04-2020 15-54-33-827.png
          557 kB
        3. javaw 12-04-2020 15-53-49-531.png
          javaw 12-04-2020 15-53-49-531.png
          570 kB
        4. 2020-04-04_16.33.28.png
          2020-04-04_16.33.28.png
          303 kB
        5. 2020-02-15_14.53.20.png
          2020-02-15_14.53.20.png
          1016 kB
        6. 2020-02-15_14.53.14.png
          2020-02-15_14.53.14.png
          1.11 MB
        7. 2020-02-15_14.53.12.png
          2020-02-15_14.53.12.png
          1.04 MB

            cojomax99 [Mojang] Cory Scheviak
            Ozone Ozone
            Votes:
            86 Vote for this issue
            Watchers:
            40 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: