mojira.dev
MCPE-44326

Ghast hitbox is offset

Steps to reproduce:

  1. Make a 4x4 block space, with walls all around.

  2. Spawn a ghast inside of the big hole.

Expected results:
The ghast hitbox fills the 4x4 space properly.

Observed results:
A part of the ghast clips through the ground, and the ghast can't move. Note that if you hit the ghast, it won't go up and fill the space properly, it'll stay there, meaning that there is no free space. That's how I found out that the hitbox is actually offset by about 1 block in the Y axis.

Linked issues

Attachments

Comments 14

[media][media][media][media][media][media][media][media]
[media][media][media][media][media][media][media][media]

Confirmed in 1.10.0.1 on Windows 10. The ghast's collision box is displaced 1 block too high.

I spawned a ghast inside a glass box, then placed lime glass blocks as close as possible to the ghast while pushing it as far away as possible. The attached pictures show the results. The enclosed space is 4 x 4 in the X and Z directionx and 5 blocks tall in the Y direction.
These pictures:

[media]

[media]


show that its collision box is smaller than its body on the bottom, front, back, and sides, while this picture (after the ghast had floated upward):

[media]


shows that its collision box extends above its body on the top. This picture (taken from inside the ghast when it was as far down as possible)

[media]


shows that the collision box bottom is more than 1 block above the bottom of the ghast's body.

Confirmed in 1.10.0.1 on Windows 10. The ghast's collision box is displaced 1 block too high.

I spawned a ghast inside a glass box, then placed lime glass blocks as close as possible to the ghast while pushing it as far away as possible. The attached pictures show the results. The enclosed space is 4 x 4 in the X and Z directionx and 5 blocks tall in the Y direction.
These pictures:

[media]

[media]


show that its collision box is smaller than its body on the bottom, front, back, and sides, while this picture (after the ghast had floated upward):

[media]


shows that its collision box extends above its body on the top. This picture (taken from inside the ghast when it was as far down as possible)

[media]


shows that the collision box bottom is more than 1 block above the bottom of the ghast's body.

Confirmed in 1.10.0.1 on Windows 10. The ghast's collision box is displaced 1 block too high.

I spawned a ghast inside a glass box, then placed lime glass blocks as close as possible to the ghast while pushing it as far away as possible. The attached pictures show the results. The enclosed space is 4 x 4 in the X and Z directionx and 5 blocks tall in the Y direction.
These pictures:

[media]

[media]


show that its collision box is smaller than its body on the bottom, front, back, and sides, while this picture (after the ghast had floated upward):

[media]


shows that its collision box extends above its body on the top. This picture (taken from inside the ghast when it was as far down as possible)

[media]


shows that the collision box bottom is more than 1 block above the bottom of the ghast's body.

4 more comments

I've also seen this. In our nether hub on our map, there is a ceiling that is open the nether on top and spawnable for ghasts. When they spawn off the top of the outside of our hub, the bottom parts of ghasts get stuck in the ceiling, so their tentacles are just sticking down into our hub room and they can't leave until they de-spawn.

I've also seen this. In our nether hub on our map, there is a ceiling that is open the nether on top and spawnable for ghasts. When they spawn off the top of the outside of our hub, the bottom parts of ghasts get stuck in the ceiling, so their tentacles are just sticking down into our hub room and they can't leave until they de-spawn.

Client-Side Resource Pack which fixes the issue.

[media]

[media]

Client-Side Resource Pack which fixes the issue.

[media]

[media]

Client-Side Resource Pack which fixes the issue.

[media]

[media]

[Mod] LateLag

(Unassigned)

195494

Confirmed

Windows

Windows 10

1.16.0.59 Beta, 1.14.20 Hotfix, 1.12.0.2 Beta, 1.11.0.10 Beta, 1.11.0.8 Beta, ..., 1.11.0, 1.12.0.4 Beta, 1.12.0.6 Beta, 1.11.1, 1.11.3

1.16.0.55 Beta, 1.16.0

Retrieved