ClientboundCodeOfConductPacketEvent

class ClientboundCodeOfConductPacketEvent(packet: ClientboundCodeOfConductPacket) : PacketEvent<ClientboundCodeOfConductPacket>

Constructors

Link copied to clipboard
constructor(packet: ClientboundCodeOfConductPacket)

Properties

Link copied to clipboard
Link copied to clipboard

Whether the event is canceled. Packets that are canceled will not be sent or processed by the server.

Link copied to clipboard
var packet: ClientboundCodeOfConductPacket

The packet that is being sent or received.