PresenceClientTracker

Tracks local player presence signals on the client and syncs them to the server.

Also maintains remote presence snapshots for lightweight typing HUD feedback.

Functions

Link copied to clipboard
fun handleItemTransfer(packet: PresenceItemTransferS2CPacket, context: ERROR CLASS: Symbol not found for ClientPlayNetworking.Context)

Applies an item transfer packet by spawning directional item particles.

Link copied to clipboard
fun handleServerStatusSync(packet: PresenceStatusSyncS2CPacket, context: ERROR CLASS: Symbol not found for ClientPlayNetworking.Context)

Applies a remote player's synced presence state on packet receive.

Link copied to clipboard

Records a local keyboard input event for typing/idle signals.

Link copied to clipboard

Records a local mouse input event for idle signals.

Link copied to clipboard
fun register()

Registers the end-of-tick presence sampler and sync loop.

Link copied to clipboard

Returns cached remote presence state for model animation hooks.