mojira.dev
MCPE-53831

Endermen are provoked by players under the invisibility effect

When invisible, endermen can see you when you stare at them and in the end they attack you
If a player with the invisibility effect is wearing armor, he should be noticed by an enderman (as well as other mobs).
MC-89309:

It is intentional that mobs can sometimes see invisible players up to a distance of 3.5 metres (or even further if the player is wearing armor).

It is intentional that mobs (except slimes) who are attacked by invisible players can see their attacker and fight back.

Steps to Reproduce:

  1. Drink a potion of invisibility

  2. Spawn an enderman

  3. Switch to Survival mode

  4. Stare at the enderman

Observed Results:
The enderman is provoked and starts attacking the player.

Expected Results:
The enderman should remain neutral when staring at it.

Linked issues

Attachments

Comments 4

By replacing line 110 to enderman.json with this code in the vanilla behavior pack, you can work around this bug.

 

},
{
   "test": "is_visible",
   "subject": "other",
}

 

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response

Is this still an issue in the latest version? If so, please make sure the ticket description contains the following information:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Thank you for your report!
However, this issue has been closed as Working as Intended.

If you need help or have a suggestion you might like to follow a link below.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Maksim K

(Unassigned)

372622

Confirmed

Multiple

vanilla-parity

1.19.40.20 Preview, 1.17.20.23 Beta, 1.17.10, 1.16.0.66 Beta, 1.16.0.55 Beta, ..., 1.19.0, 1.19.22 Hotfix, 1.19.40, 1.20.30, 1.20.31 Hotfix

Retrieved