Skip to content

MountSystems.PlayerMount

Package: com.hypixel.hytale.builtin.mounts

public static class PlayerMount extends RefChangeSystem<EntityStore, MountedComponent>

Reacts to MountedComponent changes on player entities (those with PlayerInput) to synchronize the mount network ID on the player’s input component.

  • onComponentAdded: Resolves the mount target entity’s NetworkId and sets it on PlayerInput.setMountId(). Clears the movement update queue.
  • onComponentRemoved: Resets PlayerInput.setMountId(0).
  • onComponentSet: No-op.

Matches entities with PlayerInput.

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