packet

fun packet(player: Player, action: PacketBuilder.() -> Unit)

Entry point for the packet DSL. Applies action to a PacketBuilder for the given player.

Parameters

player

The target player.

action

DSL block for sending packet-based effects.