Basalt's own: a packet a player sent or was sent, after @minecraft/server-net's beforeEvents, watched without waiting.
Interface in @minecraft/server
Extended by PacketReceiveAfterEvent, PacketSendAfterEvent
Basalt’s own: a packet a player sent or was sent, after @minecraft/server-net’s
beforeEvents, watched without waiting.
import type { PacketAfterEvent } from '@minecraft/server';Properties
Section titled “Properties”packetId
Section titled “packetId”read-only
readonly packetId: string;The packet’s name, a PacketId of @minecraft/server-net.
packetSize
Section titled “packetSize”read-only
readonly packetSize: number;Its bytes, header included.