Skip to content

MountSystems.RemoveMounted

Package: com.hypixel.hytale.builtin.mounts

public static class RemoveMounted extends RefSystem<EntityStore>

Cleans up mount relationships when a mounted entity is removed from the store. On entity removal, reads the entity’s MountedComponent and delegates to MountSystems.handleMountedRemoval() to remove the passenger from the mount’s MountedByComponent or BlockMountComponent.

Matches entities with MountedComponent.

  • onEntityAdded: No-op.
  • onEntityRemove: Delegates to handleMountedRemoval.
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.