mojira.dev
MC-10901

Various mobs can see invisible players

The bug

Several mobs can still see you even if you are invisible.

Affected mobs

  • Cats

  • Rabbits

  • Ocelots

  • Guardians

  • Zombies

  • Zombie pigmen

  • Pillagers

How to reproduce

  1. Use a potion of invisibility or run this command /effect give @p minecraft:invisibility 15 1

  2. Spawn or find a zombie (for example)

  3. Hit it
    → ❌ It will chase you even if you are invisible

Linked issues

MC-59932 Rabbits/Ocelots/guardians see invisible players MC-60506 Killer Rabbit sees invisible players MC-64723 psychic rabbits MC-64876 Rabbits can see and run away from you, even when you've used a Potion of Invisibility. MC-64877 Killer Rabbits of Caerbannog can see and hit you, even when you've used a Potion of Invisibility. MC-65026 Ocelots can see and run away from you, even when you've used a Potion of Invisibility. MC-66870 Guardians see invisible players MC-80080 Mobs can still track and hurt you while you are invisible MC-91033 Guardians attack players with invisibility MC-114711 I find interesting bug about guardians. They attack invisible players. MC-119850 Player is seen by Guardians with invisibility potion MC-138536 Cats Afraid of Invisible Players MC-141866 pillagers see invisable entities

Comments

bugi74

This could be related to MC-2638. Even though that one is creative, the common thing is that the aggro of nearby other mobs is affected in a way that seems to skip the intended checks.

However, I would also point to wiki http://www.minecraftwiki.net/wiki/Invisibility, which explains that invisibility isn't quite as full invisibility as might be thought.

rydian

Are you wearing any armor? You need to be naked for invisibility to make you fully invisible (the wiki says this).

Danny Redmond

to be honest since they are zombies they can sense you and spell you, so invisibility isn't meant to work not realy much of a problem use a bow and arrow or something

Victor Clements

No, I'm not wearing armour but the problem is I'm making a zombie survival map with certain classes that recieve the invisibility effect under a specific amount of health, which makes this bug extremely annoying. and If the zombies can "sense and spell you" why don't they do that before you hit them? this bug is specific to zombies and zombie pigmen and their "gang attack" AI so I think it doesn't have much to do with the invisibility not being as invisible as thought.

RandomDSplayer

Did you alert them of your presence before you became invisible?

Itouch2

Still a concern in 1.7.4/5 and 14w08a

qmagnet

Confirmed for 14w32d

KingSupernova

Confirmed for rabbits, ocelots, zombies, and zombie pigmen in 1.8.2 pre-3. (Although I think the pigmen one is intended.) Seems to have been fixed for guardians though. Also, it would be nice if there were a list of mobs that this occurred for. And could someone please fix the title?

Torabi

Confirmed for 1.8.2-pre6, but it is probably intended that Zombies and Zombie Pigmen communicate your location to others of their own kind. Hitting any mob reveals your location to that specific mob, and it makes sense that social mobs would share that information.

KingSupernova

This report seems to be about 2 separate bugs. One is that some mobs can simply see you when you are invisible, the other is the (probably intended) one that social mobs communicate your location when hit. These should probably be split into 2 separate reports.

onnowhere

Still in 1.8.3 and 1.8.4 - Apparently MC-18284 states this was fixed, but that seems not to be the case

rydian

Still happening in 15w47a.

Drank an invisibility potion, went into survival, punch one zombie in a group and others started going after me.

rydian

Still happening in 1.9-pre2.

Socks

still in 16w43a - confirmed for rabbits, ocelots, guardians (both). Zombies and Zombie Pigmen do so only if provoked (hit).

Socks

still in 16w44a

Socks

still in 1.11 Pre-Release 1

Tested in survival with no armor

AI behavior the same with or with out invisibility potion (ie potion has no affect):

Guardian, Elder Guardian, Blaze, Ghast, Wither, Rabbit, Ocelot

Did not test with all hostile/neutral mobs, but those I did worked until hit with the exception of Magna Cub/Slime - they seemed to still not see me.

Koala_eiO

Still in 1.11.2

John

Confirmed for 17w06a. It seems like this applies to all mobs.

Koala_eiO

Still in 18w32a with guardians.

kumasasa

@unknown, but fixed for Rabbits / Ocelots / Zombies / Zombie Pigmen?

Kraif

Confirmed for 1.13.1.

Enbeon

Confirmed for 18w44a.

Valicon

Shulkers can also see invisible players in some conditions, you should add them in the list. See MC-137009

TheBoy358

Confirmed in 19w04b, 19w05a and 19w06a.

Victor Clements

Kraif

migrated

Confirmed

Snapshot 13w09b, Snapshot 13w09c, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w18c, ..., Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a

Minecraft 19w08a

Retrieved