@minecraft/server-net
    Preparing search index...

    Class PacketSendBeforeEventBeta

    Sent as the server sends a network packet to clients. If cancelled, the server will not send the network packet to the receiving clients.

    Index

    Properties

    cancel: boolean
    packetId: PacketId

    The type of network packet.

    recipients: Player[]

    Which clients the network packet is being sent to.