mojira.dev
MCPE-221320

The Happy Ghast's hitbox is glitched causing them to suffocate against walls

Steps to reproduce

  1. /fill ~ ~ ~ ~7 ~7 ~7 hollow slime

  2. Stand on the center block on floor of the slime cube and summon a happy ghast.

  3. 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:

  1. Normally, like in the Java edition, the Happy Ghost can pass through 4-block gaps.

  2. However, this issue causes the Happy Ghost to fail passing through.

  3. It also inexplicably takes suffocation damage.

  4. Blocks cannot be placed next to the Happy Ghost's body.

  5. Even when the Happy Ghost is flush against a surface, there should still be some width allowance.

  6. Later, I noticed that no matter how you rotate it, at least one side won't allow block placement.

  7. 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.

  8. When blocks can somehow be placed, the hand freezes, and two blocks may be placed at once.

  9. Occasionally, you can walk into it—but don’t celebrate yet. While riding prevents suffocation, standing on its head causes inexplicable suffocation.

Linked issues

MCPE-221046 Happy ghasts and ghastlings take damage when hugging face first on a wall Resolved BDS-22730 Ghasts sometimes suffocate the moment they come in contact with a wall, even after there is adequate space. Resolved MCPE-222145 Happy Ghast suffocating itself on blocks Resolved MCPE-222140 Happy ghasts are able to suffocate in corners Resolved REALMS-13064 Happy Ghast dying in walls Resolved

Attachments

Comments 12

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.

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.

Also this bug is present on Xbox, and is present in 1.21.90.

Still present in 1.21.92

2 more comments

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.

I think, this issue was already fixed, in the original report.

The screen recording was taken earlier this morning so I am pretty sure the bug hasn't been fixed.

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.

yeningyu

(Unassigned)

1432354

Confirmed

Multiple

1.21.92 Hotfix, 1.21.100.20 Preview, 1.21.90, 1.21.90.28 Preview

1.21.100.23 Preview, 1.21.100

Retrieved