Skip to content

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.

  • onEntityAdded: No-op.
  • onEntityRemove: Reads the Player component and delegates to MountPlugin.checkDismountNpc().
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.