-
Bug
-
Resolution: Fixed
-
None
-
Minecraft 15w39b, (60)
Minecraft 15w39c, Minecraft 15w42a, Minecraft 16w04a, Minecraft 1.9 Pre-Release 2, Minecraft 1.9, Minecraft 1.9.4, Minecraft 1.10 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2, Minecraft 18w21b, Minecraft 1.13-pre2, Minecraft 1.13-pre6, Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w09a, 1.14.4, 19w46b, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w13a, 20w13b, 20w15a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a
-
Confirmed
-
Mob behaviour
-
Normal
The bug
When a player, while wearing no armor, affected with the Invisibility effect, hostile mobs will still target and attack the player as normal.
In /gamemode survival the following mobs will attack the player:
- Unprovoked: Guardians, Elder Guardians, Blazes, Ghasts, Wither Bosses, Phantom, Shulkers
- Provoked (hit): Creepers, Skeletons, Zombies, Spiders, Cave Spiders, Silverfish, Endermites, Endermen (not when looked at, but when hit), Zombie Pigmen, Wither Skeletons, Shulkers (stops attacking after a bit)
- Ignore you even when provoked: Slimes and Magma Cubes
Have even seen some mobs, under some circumstances trying to attack while in /gamemode creative or /gamemode spectator, while affected with the Invisibility effect. However not always.
Code analysis
Code analysis by gnembon can be found in this comment.
- is duplicated by
-
MC-97322 Invisibility Potion, Guardians & Elder Guardians
- Resolved
-
MC-97446 Guardians still attack you while your invisible
- Resolved
-
MC-97624 Invisibility dosent work on guardians
- Resolved
-
MC-98711 Guardians can still see me after I drink invisibility potion
- Resolved
-
MC-104864 Guardian mobs ignore invisibility
- Resolved
-
MC-106404 Guardian Fish detecting me while invisible
- Resolved
-
MC-124172 Invisibility potion doesn't prevent blazes from attacking
- Resolved
-
MC-131269 Phantoms target and attack players with the invisibility effect
- Resolved
-
MC-169914 Shulker tracking player while using invisibility potion
- Resolved
-
MC-178774 doing invisible status effect but creepers are see me
- Resolved
-
MC-179220 Blazes and Hoglins can see through invisibility
- Resolved
- relates to
-
MC-10901 Various mobs can see invisible players
- Resolved
-
MC-178237 Unlike zombies, zoglins don't call nearby zoglins after being attack
- Resolved
-
MC-172479 Hoglins immediately attack invisible players
- Resolved
-
MC-186034 Mobs that notice an invisible player will persue as if the player wasn't invisible
- Resolved
-
MC-211666 Guardians attack invisible axolotls
- Resolved
-
MC-226532 Monsters attack invisible players in a close distance
- Resolved