ServerboundContainerClickPacketEvent

class ServerboundContainerClickPacketEvent(player: Player, packet: ServerboundContainerClickPacket) : PlayerPacketEvent<ServerboundContainerClickPacket>

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
var carriedItem: HashedStack
Link copied to clipboard
var changedSlots: Int2ObjectMap<HashedStack>
Link copied to clipboard
Link copied to clipboard
var containerInput: ContainerInput
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: ServerboundContainerClickPacket

The packet that is being sent or received.

Link copied to clipboard
val player: Player
Link copied to clipboard
Link copied to clipboard