Prevents wither skulls from accumulating in unloaded chunks and potentially fly forever
This mods prevents wither skulls from accumulating in unloaded chunks and potentially fly forever.
One of the issue is that wither skulls fly perfectly straight, they don't experience gravity.
This means that if a Wither shoots upwards, and the skull doesn't hit anything, it will fly up eternally.
This is usually not a concern for lag or anything, since you usually only have a couple of such skulls flying in the air, but you also don't really have a way to clean them up.
They can also just fly almost horizontally, in which case they can travel thousands of blocks until they finally crash into a distant mountain or a player build.
Some players might find annoying to have random explosions or forever flying skulls around their world, when they are only meant to be temporary projectiles for a boss fight.
This mod takes care of that by simply not allowing Wither Skulls to ever be persisted, which means that the instant they reach unloaded chunks, they will be removed from the game.
I have seen a couple other mods that try to accomplish the same thing, but they work in rather janky ways :
My mod ensure that as long as the skulls are "in combat" they stay alive, guaranteeing that they won't unexpectedly despawn regardless of your render distance or if you are flying alongside one.
It also allows you to keep skulls in stasis as long as they are not moving (eg: So you can recreate Docm77's wither skull prank to Scar in Hermitcraft s9)
I have tried my best to hunt them, but there might be bugs that I didn't find.
Feel free to open an issue for them and I'll do my best to fix them.
Pull requests are also welcome.
Conversation