Dead withers not despawning
Hi, we have a server-wide griefing problem where players are building Withers immediately next to other players' claims. That alone is its own issue but the important one is that some of the ones we've killed recently are not despawning. They are dead, seemingly stuck in the death animation, but they persist through server restarts and furthermore they cannot be targeted by entity selectors. We have tried everything:
-
/minecraft:kill @e[type=wither]
- /butcher
with the -f
flag
- /minecraft:data modify entity @n[type=wither]
- /mvpurge world WITHER
- No command can target them, I've tried with the distance
attribute as well.
- They cannot be hit.
- They cannot be renamed.
- They are not affected by collision.
- They cannot be manipulated into riding minecarts.
- Pistons can push the hitboxes, but the corpse remains.
None of the vanilla commands target these entities, WorldEdit doesn't see them either, and Multiverse's purge command doesn't work on them. There is seemingly no way to interact with these entities either by game mechanics or commands. They're like ghosts.
Screenshot shows what we're dealing with. The hitboxes are indeed the Wither entities, as middle-clicking them produces a Wither spawn egg, and yet as entities it is impossible to target them. Even when pushing the hitboxes away using pistons, the body of the mob remains stuck in place.
We are out of known options and desperately require a solution aside from regenerating the whole world. Please advise.

4 Replies
I have ideas, no idea if they would work for you or what not. First idea is unloading the chunks the entities are in? (im not sure how to really do this as I haven't done it myself, I only saw someone talk about it and it worked for them) Second idea is installed the plugin RoseStacker, I use it for entity clearing with the command /rs clearall entity
What version are you on?
It'd be a good amount of work but you could try seeing if they still exist in the files using MCASelector
Heyhi - Mod(/kind of dev) here from AppleMC...
We've attempted to unload them by TP'ing them away and editting their Entity Data to have the PersistanceRequired set to 0 / 0b...
This did not work.We have found out that USpigot had a setting where Withers (who would have guessed) are put under the "dont-tick" setting.
Causing them to no longer be ticket - and therefor do not process the final death tick... nor the damage ticks - which would explain them not taking damage and persisting... As they do not tick - they will not despawn by the unloading either...To put it simple, we'll likely disable the setting while in Maintenance, and then remove them when they do tick.
Likely causing nearly no damageRoseStacker is indeed a good solution as well - but the owner doesn't like us adding random plugins... 😭 That would also have worked - as we were also attempting to use things like Structureblocks to load the area with entities on false.
But I also thought about editting the Region-dataTho that is an invasive method - and might go wrong - which wouldn't really... well... help Thanks tho for your answers - we'll likely look further if this does not work
And perhaps also try your solutions if it does not work by disanling the USpigotAlright... enough rambling lol
👍