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.
Behavior
Section titled “Behavior”- onComponentAdded: Resolves the mount target entity’s
NetworkIdand sets it onPlayerInput.setMountId(). Clears the movement update queue. - onComponentRemoved: Resets
PlayerInput.setMountId(0). - onComponentSet: No-op.
Matches entities with PlayerInput.
Related Types
Section titled “Related Types”- MountSystems — enclosing class
- MountSystems.HandleMountInput — processes input while mounted
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.