mojira.dev
MC-270617

Sniffer glitches when dying in a small/tight hole or place

Sniffer and many other giant mobs turn black when suffocating in a small hole or place.

How to reproduce
Dig a hole
Spawn a sniffer or any large mob inside the hole
Now step on the mob while its suffocating, its gonna turn black.

Observations: Mob turns black when stepping on it while its suffocating.
Expectations: Nothing should happen and it should keep on suffocating without changing color.

Linked issues

Attachments

Comments 2

I believe this is not exclusive to only sniffers, most entities turn black when they're suffocating and the head is inside solid blocks (as there's no light inside that block or blocks). See MC-197260 and it's related issues.

@unknown Yeah I mentioned that sniffer and many large/giant mobs also turn black, but this only happens when you step on it while its suffocating, it won't actually change color if you leave the mob suffocating without stepping on it. Same thing for MC-270618

BugTracker

(Unassigned)

Confirmed

Platform

Normal

Rendering

1.20.4, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 3, 1.20.5 Pre-Release 4, 1.20.5 Release Candidate 1, ..., 1.21.2, 1.21.3, 24w45a, 24w46a, 1.21.4

Retrieved