MountSystems.TeleportMountedEntity
Package: com.hypixel.hytale.builtin.mounts
public static class TeleportMountedEntity extends RefChangeSystem<EntityStore, Teleport>Dismounts an entity when it is teleported. Reacts to Teleport component being added to entities with a MountedComponent, and removes the MountedComponent.
Matches entities with MountedComponent.
Watched Component
Section titled “Watched Component”Teleport — reacts to addition only; onComponentSet and onComponentRemoved are no-ops.
Dependencies
Section titled “Dependencies”Ordered BEFORE both TeleportSystems.MoveSystem and TeleportSystems.PlayerMoveSystem with CLOSEST priority.
Related Types
Section titled “Related Types”- MountSystems — enclosing class
- MountSystems.MountedEntityDeath — similar dismount-on-event pattern
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.