mojira.dev
MC-247424

Dragon Fireball wont despawn.

Summoned a dragon_fireball with the command:

/summon minecraft:dragon_fireball ~ ~1 ~

 

Can't remove it by typing the command:

/kill @e[distance=10,type=minecraft:dragon_fireball]

 

 I read that somone fixed this by adding "entity.DragonFireball.name=Dragon Fireball" in the lang file. but where do i find the lang file?

https://bugs.mojang.com/browse/MC-85115

 

I have this issue both on a singleplayer world and a multiplayer server. but if we can fix this issue on singleplayer first, so does the same fix work for the multiplayer server

Attachments

Comments 2

"distance=10" targets entities that are exactly 10 blocks away. You should use "distance=..10" (up to 10 blocks away). The dragon fireball can be killed with the correct command.

Thanks. [Mod]null +1

/kill @e[distance=..10,type=minecraft:dragon_fireball]

By adding two dots fixed the issue for me.

Edwin Tell

(Unassigned)

Unconfirmed

(Unassigned)

1.18.1

Retrieved