You can see when the ghast shoot a fireball, it appears a little above the head instead of being in the mouth
Device: LG K10
Linked issues
is blocked by 1
is duplicated by 6
relates to 2
Attachments
Comments 9
This issue is certainly still around, and can be pretty easily tested even in the recent 1.16.0.58 nether update beta. Since its the nether update, seems like a perfect time to fix up ghasts 😃
I think this bug also makes it so the ghast often misses where its firing, so that the player can stand perfectly still, and the ghast will never be able to shoot you.
Here is some footage of this bug in action: https://youtu.be/aKaxK2xAWJI?t=396
I will confirm this later today, but it should look much better in the betas than in 1.14.60 since MCPE-44326 was fixed. It just so happens that the fireball is offset even more than the ghast hitbox box used to be.
I don't know why people say that ghasts have inaccurate range.every time a ghast shoots at me,its always at me.so I don't know whether this is fixed or this just me because even in 1.14.60,ghasts were fine in this description
This is still an issue in 1.16.0.64, to reproduce just summon a ghast and have it fire at you, once it gets high enough the shots will start going over your head, they only hit if the ghast is roughly the same elevation as the target.Â
The position of a fireball when shot by a ghast is determined by the "offset"
parameter in the "minecraft:projectile"
component in \entities\fireball.json. To make the fireball come from the ghast's mouth the offset should be
"offset": [ "2 * math.sin(query.body_y_rotation)" , -3.25, "2 * math.sin(query.body_y_rotation - 90)" ],
I have attached a behavior pack (
[media]) that fixes the bug by adding a component group that contains a version of "minecraft:projectile"
with the above offset, and a filter in the "entity_spawned"
event that adds that group if the fireball is spawned by a ghast. This allows "ghast" fireballs shot by other entities to still use the default offset.
Cleaning up old tickets: This ticket has not been updated recently (~7 months+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue and is affecting the most recent versions, then please comment, or create a new ticket following the Issue Guidelines.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki