MountSystems.TrackerUpdate
Package: com.hypixel.hytale.builtin.mounts
public static class TrackerUpdate extends EntityTickingSystem<EntityStore>Ticking system that queues MountedUpdate network packets for all viewers tracking a mounted entity. Runs in the EntityTrackerSystems.QUEUE_UPDATE_GROUP system group.
Matches entities with both EntityTrackerSystems.Visible and MountedComponent.
Behavior
Section titled “Behavior”Each tick, for each matching entity:
- If
MountedComponent.consumeNetworkOutdated()returnstrue, queues updates to all current viewers. - Otherwise, if there are newly visible viewers, queues updates only to those new viewers.
For entity mounts, resolves the mount target’s NetworkId and creates a MountedUpdate with the network ID, offset, and controller type. For block mounts, reads the BlockMountComponent to obtain the seat position, rotation, and block type for the BlockMount protocol object.
Parallelism
Section titled “Parallelism”@Overridepublic boolean isParallel(int archetypeChunkSize, int taskCount)Delegates to EntityTickingSystem.maybeUseParallel().
Related Types
Section titled “Related Types”- MountSystems — enclosing class
- MountSystems.TrackerRemove — handles removal updates
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.