-
Bug
-
Resolution: Unresolved
-
None
-
1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4, 20w45a, 20w48a, 21w03a, 21w08b, 21w11a, 21w15a, 1.17, 1.17.1, 21w37a, 21w39a, 21w40a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 8, 1.18, 1.18.1 Pre-release 1, 1.18.1, 22w03a, 22w05a, 22w06a, 1.18.2, 22w11a, 22w14a, 1.19 Pre-release 4, 1.19, 1.19.1 Pre-release 5, 1.19.1 Release Candidate 2, 1.19.1 Release Candidate 3, 1.19.1, 1.19.2, 23w06a, 1.19.4, 23w14a, 1.20 Pre-release 6, 1.20.1, 23w33a, 1.20.2 Pre-release 2, 1.20.2 Release Candidate 2, 1.20.2, 23w42a, 1.20.4, 1.20.5 Pre-Release 1, 1.21
-
None
-
Confirmed
-
Creative
-
Mob behaviour
The bug
Hitting a mob (which is by default passive; or which does not see you because you are invisible) in Creative mode and switching shortly afterwards into Survival mode makes the mob attack you.
How to reproduce
- Spawn a mob (preferably passive, you also can use hostile mobs for this, but you must be invisible), e.g. an Enderman, Polar Bear or Zombified Piglin
- Hit the mob in creative mode
- Quickly switch to survival mode (must be 4 seconds or less)
→ The mob begins to pursue the player