DamagePacket

data class DamagePacket(val pos: Vector3f, val damage: Byte) : CustomPacketPayload(source)

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

Constructors

Link copied to clipboard
constructor(pos: Vector3f, damage: Byte)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val pos: Vector3f

Functions

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