NPCMountSystems.OnPlayerRemove
Package: com.hypixel.hytale.builtin.mounts
public static class OnPlayerRemove extends RefSystem<EntityStore>Dismounts the player from their NPC mount when the player entity is removed from the store (e.g., on disconnect). Delegates to MountPlugin.checkDismountNpc().
Matches entities with Player.
Behavior
Section titled “Behavior”- onEntityAdded: No-op.
- onEntityRemove: Reads the
Playercomponent and delegates toMountPlugin.checkDismountNpc().
Related Types
Section titled “Related Types”- NPCMountSystems — enclosing class
- NPCMountSystems.DismountOnPlayerDeath — handles dismount on player death
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.