跳转至

PacketReceivedBeforeEvent

文档版本:1.21.60.21

PacketReceivedBeforeEvent类。script_api.minecraft/server-net.packetreceivedbeforeevent.description

属性

cancel
cancel: boolean;
packetId
read-only packetId: PacketId;
packetSize
read-only packetSize: uint32;
sender
read-only sender: Player | undefined;