mojira.dev
MC-133344

Hostile mobs with their heads in transparent blocks are not attacking the player

In version 17w49b the behavior of hostile mobs has been changed, so that when their heads are in transparent blocks they can see and attack the player. This has been classified as "Works As Intended", as you can see in the bug report MC-122988

But since Minecraft 1.13-pre7, hostile mobs with their heads in transparent blocks can not see or attack players. Probably caused by the bug fix MC-124126

Linked issues

Attachments

Comments

Paul Tessier

works as intended, because mobs can't see through glass, they can't see while their inside glass.

Unarybit

Does not work as intended as you can see in MC-122988 it has been classified as "Works As Intended" that mobs can see while in transparent blocks like glass.

violine1101

This seems to affect non-hostile mobs as well, see MC-133687.

Unarybit

Hi violine1101 🙂

I do not think MC-133687 is a duplicate of this bug here, please take a look at my post there.
But you are right, even non-hostile mobs with their heads in transparent blocks, do not attack hostile mobs.

Unarybit

To be clear, I just want to know what behavior is now "Works As Intended". Can mobs see if their head is in a transparent block or not? If not then the "WAI" classification is incorrect for MC-122988 .

Can a mod confirm this bug report, so that we have a chance to get a statement from the devs?

Avoma

Can confirm in 20w49a.

[Mod] Jingy

I'd like to ask for a bit of clarifications on this issue since has not been updated in a while. Is the problem you are describing that entities cannot target and persue the player, or cannot attack the player?

From my own test, I was able to be attacked by a zombie with it's head stuck inside of glass, but the zombie did not target me until I provoked it. This is the behavior I observed:

[media]
[Mod] Jingy

Can confirm in 1.20.3 Pre-Release 2 with the behavior of the hostile mob not actively persuing the player without prior provocation, although as stated in my comment it's currently unclear if that is actually the intention of the issue.

Unarybit

(Unassigned)

Confirmed

Mob behaviour

ai, mob, transparent-block, zombie

Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13, ..., 20w06a, 20w09a, 1.16.4, 20w49a, 1.20.3 Pre-Release 2

Retrieved