What are you searching for?

Non Persistent Wither Skulls

Non Persistent Wither Skulls

Prevents wither skulls from accumulating in unloaded chunks and potentially fly forever

download 8 Downloads · favorite 0 Followers · Updated 3 weeks ago
Fabric Optimization Utility 1.21.10

Versions

inventory_2
1.0.3

1.0.3 · 3 weeks ago · 10.42 KB

Release download
Fabric 1.21.10
inventory_2
Non Persistent Wither Skulls 1.0.2

1.0.2 · 3 weeks ago · 11.07 KB

Release download
Fabric 1.21.10

About

Non Persistent Wither Skulls

Rationale

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.

Alternative Mods

I have seen a couple other mods that try to accomplish the same thing, but they work in rather janky ways :

  • Some add a lifetime to the skulls, which does ensure they eventually die, but it does prevent you to do fun stuff with them since you have a time limit before it disappear before your eyes
  • Some add a max distance check, which does feel similar to what this mod does, but the distance feels kinda arbitrary, and if you are flying around in Elytra, you could see skulls disappear before they hit you

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)

Bugs

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.

open_in_new View on Modrinth
Compatibility
Client: Unsupported Server: Required
gavel Apache-2.0

Conversation

What are your thoughts?

Related projects

Optimization
Sodium
Sodium

by jellysquid3

The fastest and most compatible rendering optimization mod for Minecraft. Now available for both NeoForge and Fabric!

download 118.2M
favorite 32,788
Decoration Optimization
Iris Shaders
Iris Shaders

by coderbot

A modern shader pack loader for Minecraft intended to be compatible with existing OptiFine shader packs

download 90.5M
favorite 23,773
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Optimization
Entity Culling
Entity Culling

by tr7zw

Using async path-tracing to hide Block-/Entities that are not visible

download 84.0M
favorite 13,759
lock Cookie consent

SkinMC uses cookies to provide functionality and features.