ClickEvent

class ClickEvent<out T : KtInventoryBase>(val inventory: T, event: InventoryClickEvent)

Constructors

Link copied to clipboard
constructor(inventory: T, event: InventoryClickEvent)

Properties

Link copied to clipboard
val action: @NotNull InventoryAction
Link copied to clipboard
val click: @NotNull ClickType
Link copied to clipboard
val currentItem: @Nullable ItemStack?
Link copied to clipboard
val cursor: @Nullable ItemStack?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val player: @NotNull HumanEntity
Link copied to clipboard
val slot: Int
Link copied to clipboard
val slotType: @NotNull InventoryType.SlotType

Functions

Link copied to clipboard
fun unsafe(): InventoryClickEvent