McharPacket

data class McharPacket(val pos: Vector3f, val animInfo: ByteArray, val animRot: Vector3f, val action: Int, val model: Int, val flags: Int, val player: GameProfile) : CustomPacketPayload(source)

Synchronizes Mario state across client/server so movement stays coherent. Use this page as a quick orientation point before editing McharPacket.

Constructors

Link copied to clipboard
constructor(pos: Vector3f, animInfo: ByteArray, animRot: Vector3f, action: Int, model: Int, flags: Int, player: GameProfile)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val action: Int
Link copied to clipboard
Link copied to clipboard
val animRot: Vector3f
Link copied to clipboard
val flags: Int
Link copied to clipboard
val model: Int
Link copied to clipboard
val player: GameProfile
Link copied to clipboard
val pos: Vector3f

Functions

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