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

Certain mobs attack while the player is in creative or spectator mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 19w12b, Minecraft 1.14, Minecraft 1.14.2, Minecraft 1.14.3, 1.14.4, 19w40a, 19w41a, 19w42a, 19w45b, 1.15.1, 1.15.2, 20w06a, 20w09a, 20w14a, 20w16a, 20w18a, 20w19a, 20w20b, 20w21a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 1.16.2 Pre-release 1, 1.16.2, 1.16.3, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w08a, 21w11a, 21w15a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Release Candidate 1, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w38a, 1.18 Release Candidate 1, 1.18.1, 1.18.2, 22w17a, 22w19a, 1.19 Pre-release 2, 1.19, 1.19.1 Release Candidate 2, 1.19.2, 1.19.3, 23w07a, 1.19.4 Release Candidate 2, 1.19.4, 23w12a, 1.20 Release Candidate 1, 1.20, 1.20.1, 23w31a, 1.20.2 Release Candidate 1, 1.20.4, 23w51b, 24w11a, 24w13a, 1.20.5 Pre-Release 1
    • Confirmed
    • Mob behaviour
    • Low
    • Gameplay

      The bug

      If you summon a team of illagers or zombies, and become invisible and hit one of them in creative mode, and then you go to survival mode they will start attacking you, but if you went to creative mode or spectator mode, they will keep attacking.

      The following mobs are known to be affected:

      • Illagers
        • Evokers
        • Pillagers
        • Vindicators
        • Illusioners
      • Witches
      • Wolves
      • Ravagers
      • Bees when harvesting from their nest / hive
      • Zoglins
      • Zombies
        • Drowned
        • Husks
        • Zombies
        • Zombie Villagers
        • Zombified Piglins

      How to reproduce

      1. Become invisible
      2. Summon a team that consists of more than 10 of the affected mobs in creative mode
      3. Attack one of the affected mobs in creative mode (if you summoned drowned then make sure to give them tridents)
      4. Go to survival mode fastly
      5. Back to creative or go spectator mode after spending one second in survival mode
      6. You will see that they attack you in creative or spectator gamemode

      Video 2019-06-29 15-53-30.mp4 made by Johnibur demonstrating this issue. The player's gamemode is being changed from creative to survival and vice-versa. The survival mode duration is only 3 redstone ticks before to switching to creative again. A hit is being done on a pillager before switching to survival.
      One of the pillager is continuating to attack the player no matter if you switch to spectator, and then creative. It will stop attacking after you switch back to survival and then creative again.

        1. 2019-06-29 15-53-30.mp4
          7.90 MB
        2. 2019-08-02_14.46.15.png
          2019-08-02_14.46.15.png
          1.82 MB
        3. 2019-08-02_14.46.21.png
          2019-08-02_14.46.21.png
          2.11 MB
        4. 2019-08-02_14.46.50.png
          2019-08-02_14.46.50.png
          1.62 MB
        5. Gravando 2024-01-05 145802.mp4
          9.37 MB
        6. Untitled.png
          Untitled.png
          2.73 MB

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            72 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated:
              CHK: