mojira.dev
MCPE-48846

Entities can still "look" at the player, even though they are invisible.

There seems to be a missing/overlooked behaviour for entities when they randomly look at the player. They are only supposed to look at the player when they are visible. However, they still look at the player even when they are invisible. It's very noticeable every time I go in the Nether and the Piglins just stare at me even though I'm invisible.

What I expected to happen was:
Nothing would happen. The mob would just continue on its way.

What actually happened was:
The mob would eventually stare at you.

Steps to Reproduce:

  1. Get an Invisibility potion; Preferably one with 8:00. (If in creative use: "/effect @s invisibility [seconds; int] [amplifier; int] [true;false]" )

  2. Go to a mob, (spawn one if in creative mode)

  3. If you are close enough eventually the mob will look at you.

Linked issues

Attachments

Comments 3

when invisible the mobs detection range is decreased so they can see you if you get into that detection range

Mobs also pathfind perfectly when you attack them even when you use the command to hide the particles

Still occurs to this day, it's very annoying when you make certain maps and this bug breaks it.

Euwill Eusebio

(Unassigned)

369913

Confirmed

Multiple

Windows 10 UWP Build, Win 10.0.18356.1. Edition: Windows 10 Pro

1.17.30.21 Beta, 1.17.30.20 Beta, 1.17.11 Hotfix, 1.17.10, 1.16.230.54 Beta, ..., 1.16.100, 1.16.201 Hotfix, 1.16.210, 1.17.2 Hotfix, 1.17.40

Retrieved