@minecraft
    正在准备搜索索引...

    接口 PacketEventOptions

    Options for events triggered by network packets.

    interface PacketEventOptions {
        ignoredPacketIds?: PacketId[];
        monitoredPacketIds?: PacketId[];
    }
    索引

    属性

    ignoredPacketIds?: PacketId[]

    If provided, packet IDs in this list will not trigger the event subscriptions.

    monitoredPacketIds?: PacketId[]

    If provided only packet IDs in this list will trigger the event subscriptions.