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
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:
- Bees when harvesting from their nest / hive
- Zombie Villagers
- Zombified Piglins
- Become invisible
- Summon a team that consists of more than 10 of the affected mobs in creative mode
- Attack one of the affected mobs in creative mode (if you summoned drowned then make sure to give them tridents)
- Go to survival mode fastly
- Back to creative or go spectator mode after spending one second in survival mode
- 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.