ClientboundContainerSetContentPacketEvent

class ClientboundContainerSetContentPacketEvent(player: Player, packet: ClientboundContainerSetContentPacket) : PlayerPacketEvent<ClientboundContainerSetContentPacket>

Constructors

constructor(player: Player, packet: ClientboundContainerSetContentPacket)

Properties

Link copied to clipboard
var carriedItem: ItemStack
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 items: List<ItemStack>
Link copied to clipboard
var packet: ClientboundContainerSetContentPacket

The packet that is being sent or received.

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