ClientboundCommandSuggestionsPacketEvent

class ClientboundCommandSuggestionsPacketEvent(player: Player, packet: ClientboundCommandSuggestionsPacket) : PlayerPacketEvent<ClientboundCommandSuggestionsPacket>

Constructors

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

Properties

Link copied to clipboard
var id: Int
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 length: Int
Link copied to clipboard
var packet: ClientboundCommandSuggestionsPacket

The packet that is being sent or received.

Link copied to clipboard
val player: Player
Link copied to clipboard
var start: Int
Link copied to clipboard
var suggestions: List<ClientboundCommandSuggestionsPacket.Entry>