NPCMountSystems.DismountOnMountDeath
Package: com.hypixel.hytale.builtin.mounts
public static class DismountOnMountDeath extends DeathSystems.OnDeathSystemResets 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.
Related Types
Section titled “Related Types”- NPCMountSystems — enclosing class
- NPCMountSystems.DismountOnPlayerDeath — handles the reverse case (player dies)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.