Skip to content

MountSystems.MountedEntityDeath

Package: com.hypixel.hytale.builtin.mounts

public static class MountedEntityDeath extends RefChangeSystem<EntityStore, DeathComponent>

Dismounts an entity when it dies. Reacts to DeathComponent being added to entities that have a MountedComponent, and removes the MountedComponent via the command buffer.

Matches entities with MountedComponent.

DeathComponent — reacts to addition only; onComponentSet and onComponentRemoved are no-ops.

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.