ClickAction

constructor(player: Player, clickType: ClickType, slot: Int, currentItem: ItemStack?, cursorItem: ItemStack?)

Parameters

player

クリックしたプレイヤー

clickType

クリックの種類

slot

クリックされたスロット番号

currentItem

クリックされたスロットのアイテム

cursorItem

カーソルにあるアイテム