ServerboundContainerButtonClickPacketEvent

class ServerboundContainerButtonClickPacketEvent(player: Player, packet: ServerboundContainerButtonClickPacket) : PlayerPacketEvent<ServerboundContainerButtonClickPacket>

Constructors

constructor(player: Player, packet: ServerboundContainerButtonClickPacket)

Properties

Link copied to clipboard
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: ServerboundContainerButtonClickPacket

The packet that is being sent or received.

Link copied to clipboard
val player: Player