Steps to reproduce
/fill ~ ~ ~ ~7 ~7 ~7 hollow slime
Stand on the center block on floor of the slime cube and summon a happy ghast.
Push it into any of the walls.
Expected result
The happy ghast does not suffocate.
Observed result
The happy ghast suffocates when its face is against a wall.
Error conditions:
Normally, like in the Java edition, the Happy Ghost can pass through 4-block gaps.
However, this issue causes the Happy Ghost to fail passing through.
It also inexplicably takes suffocation damage.
Blocks cannot be placed next to the Happy Ghost's body.
Even when the Happy Ghost is flush against a surface, there should still be some width allowance.
Later, I noticed that no matter how you rotate it, at least one side won't allow block placement.
Sometimes two or three sides block placement. When the Happy Ghost is at head level, blocks below must be at least 5 blocks apart, or it will suffocate.
When blocks can somehow be placed, the hand freezes, and two blocks may be placed at once.
Occasionally, you can walk into it—but don’t celebrate yet. While riding prevents suffocation, standing on its head causes inexplicable suffocation.
Linked issues
is duplicated by 23
Attachments
Comments 12
The Happy Ghast can very easily be pushed, or pathfind itself into a wall and suffocate inside of it. This is very easy to recreate and basically requires and happy ghasts to be almost 10 blocks away from any wall when leashed to avoid it randomly dying
You are also able to place blocks against the face of a ghast and cause it to suffocate due to this broken hitbox.
This bug should not have existed for this long, people are going to lose their happy ghasts.
I have already lost a happy ghast on survival(the clip was on creative on a copy of the world) why does it take so long to patch this bug.
Why are bug reports about happy ghasts disappearing that doesn't mention any enclosure gets resolved as a duplicate of this?
I have a named ghast that disappeared that isn't leashed nor in an enclosed space. I have looked around in 128 block radius which is beyond the unharnessed ghasts roaming radius of 64 block radius. Oh and it's in a plains biome that doesn't have any trees or steep hills so it won't suffocate.
The vanilla behavior file ghast.json gives normal ghasts a collision width of 4.02 blocks with a comment that this width is necessary to prevent suffocation. They have a hard-coded suffocation hitbox around their mouth. It seems that happy ghasts have the same hard-coded suffocation hitbox, so either that needs to be shrunken or removed, or they need the 4.02 collision width. However, if their collision is widened from 4.0 to 4.02 then it will not be possible to push/pull them through 4x4 openings, which the reporter expects to be able to do.