Skip to content

MountSystems.TrackedMounted

Package: com.hypixel.hytale.builtin.mounts

public static class TrackedMounted extends RefChangeSystem<EntityStore, MountedComponent>

Maintains the bidirectional mount relationship between a mounted entity and its mount target. Reacts to MountedComponent lifecycle events.

  • onComponentAdded: If the mount target entity is valid, ensures a MountedByComponent exists on the target and adds the mounted entity as a passenger.
  • onComponentRemoved: Delegates to MountSystems.handleMountedRemoval() to clean up both sides of the relationship.
  • onComponentSet: No-op.

Matches entities with MountedComponent.

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