As part of the fix for MC-297931, ghast fireballs and wither skulls now call their explode() methods when flying too high (build height + 30). This is inconsistent with dragon fireballs, which do not explode and produce a cloud of dragon’s breath.
The new behavior of ghast fireballs and wither skulls is now consistent with that of wind charges, and it’s possible that everything is now working as intended, but the present behavior does lead to issues such as
Players in the sky in creative mode attempting to summon a fireball or wither skull aimed at the ground, not knowing about the new behavior, will unexpectedly find the projectile explodes in their face
Players in the sky in creative mode attempting to summon a small or dragon fireball aimed at the ground, not knowing about the new behavior, will unexpectedly find the projectile vanishes
The explosions can draw the attention of survival players near the build limit who either did not notice the projectile or did not expect for it to collide with anything
To reproduce
/execute in minecraft:overworld run teleport @s ~ 340 ~ -90 ~/summon wither_skull ~ ~2 ~ {acceleration_power:0.1,Motion:[0d,0.01d,0d]}
The wither skull explodes when flying too high/summon dragon_fireball ~ ~2 ~ {acceleration_power:0.1,Motion:[0d,0.01d,0d]}
The dragon fireball simply vanishes when flying too high
Expected behavior
The behavior would be the same
Suggestion
If the point of calling explode() is to indicate that the projectile’s disappearance was intentional, then this should apply the same way to all affected projectiles, and arguably without drawing the attention of players in the world. I suggest the equivalent of
/playsound minecraft:entity.generic.extinguish_fire hostile @a ~ ~ ~ 0.75 2.0
and either
/particle minecraft:poof ~ ~ ~ 0.2 0.2 0.2 0.2 25 normal
or
/particle minecraft:explosion ~ ~ ~ 0 0 0 0 1 normal
The subtitle for this sound, “something extinguishes”, isn’t perfect, but I believe it is the best of the existing sound events. Ideally the ownership of the projectile would be taken into account when deciding which track to play the sound on, so that for example the hostile track would not be used for player-thrown wind charges.
Can confirm.