Skip to content

NPCMountSystems.DismountOnMountDeath

Package: com.hypixel.hytale.builtin.mounts

public static class DismountOnMountDeath extends DeathSystems.OnDeathSystem

Resets the player’s movement settings when a mounted NPC dies. Reacts to DeathComponent being added to NPC entities that have an NPCMountComponent. Reads the mount component’s owner player reference and, if the player is still valid, calls MountPlugin.resetOriginalPlayerMovementSettings().

Matches entities with NPCMountComponent.

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