ClickAction

data class ClickAction(val player: Player, val clickType: ClickType, val slot: Int, val currentItem: ItemStack?, val cursorItem: ItemStack?)

クリックアクションのコンテキスト情報

Parameters

player

クリックしたプレイヤー

clickType

クリックの種類

slot

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

currentItem

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

cursorItem

カーソルにあるアイテム

Constructors

Link copied to clipboard
constructor(player: Player, clickType: ClickType, slot: Int, currentItem: ItemStack?, cursorItem: ItemStack?)

Properties

Link copied to clipboard
val clickType: ClickType
Link copied to clipboard
val currentItem: ItemStack?
Link copied to clipboard
val cursorItem: ItemStack?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val player: Player
Link copied to clipboard
val slot: Int