PresenceStatusSyncS2CPacket

data class PresenceStatusSyncS2CPacket(val playerUuid: String, val guiStateOrdinal: Int, val chatStateOrdinal: Int, val typingAmplifier: Float, val mouseXPercent: Float, val mouseYPercent: Float, val pressingMouse: Boolean, val idleTicks: Int) : CustomPacketPayload(source)

Server-to-client presence status sync for a specific player.

Constructors

Link copied to clipboard
constructor(playerUuid: String, guiStateOrdinal: Int, chatStateOrdinal: Int, typingAmplifier: Float, mouseXPercent: Float, mouseYPercent: Float, pressingMouse: Boolean, idleTicks: Int)

Types

Link copied to clipboard
object Companion

Packet constants and codecs.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

local idle tick counter

Link copied to clipboard

normalized mouse X position

Link copied to clipboard

normalized mouse Y position

Link copied to clipboard

subject player UUID as string

Link copied to clipboard

whether the mouse is pressed

Link copied to clipboard

typing intensity value

Functions

Link copied to clipboard
open override fun type(): CustomPacketPayload.Type<out CustomPacketPayload>