枚举的使用
org.bukkit.event.inventory.ClickType
使用ClickType的程序包
-
org.bukkit.event.inventory中ClickType的使用
修饰符和类型方法说明InventoryClickEvent.getClick()
获取本事件的ClickType.static ClickType
返回带有指定名称的该类型的枚举常量。static ClickType[]
ClickType.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为ClickType的org.bukkit.event.inventory中的构造器限定符构造器说明CraftItemEvent
(Recipe recipe, InventoryView what, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action) CraftItemEvent
(Recipe recipe, InventoryView what, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action, int key) InventoryClickEvent
(InventoryView view, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action) InventoryClickEvent
(InventoryView view, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action, int key)