ClientboundDisguisedChatPacketEvent

class ClientboundDisguisedChatPacketEvent(player: Player, packet: ClientboundDisguisedChatPacket) : PlayerPacketEvent<ClientboundDisguisedChatPacket>

Constructors

Link copied to clipboard
constructor(player: Player, packet: ClientboundDisguisedChatPacket)

Properties

Link copied to clipboard
var chatType: ChatType.Bound
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 message: Component
Link copied to clipboard
var packet: ClientboundDisguisedChatPacket

The packet that is being sent or received.

Link copied to clipboard
val player: Player