public final class IcClickEvent extends Object implements ClickEvent
| Constructor and Description |
|---|
IcClickEvent(@NotNull org.bukkit.plugin.Plugin plugin,
@NotNull org.bukkit.event.inventory.InventoryClickEvent event,
@NotNull InventoryContents contents,
@NotNull Icon icon) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull org.bukkit.event.inventory.InventoryAction |
action() |
void |
cancel() |
@NotNull org.bukkit.event.inventory.ClickType |
click() |
void |
close() |
int |
column() |
@NotNull InventoryContents |
contents() |
@NotNull Optional<org.bukkit.inventory.ItemStack> |
current() |
@NotNull Optional<org.bukkit.inventory.ItemStack> |
cursor() |
@NotNull Icon |
icon() |
int |
row() |
org.bukkit.event.inventory.InventoryType.SlotType |
slot() |
public IcClickEvent(@NotNull
@NotNull org.bukkit.plugin.Plugin plugin,
@NotNull
@NotNull org.bukkit.event.inventory.InventoryClickEvent event,
@NotNull
@NotNull InventoryContents contents,
@NotNull
@NotNull Icon icon)
public int row()
row in interface ClickEventpublic int column()
column in interface ClickEvent@NotNull public @NotNull org.bukkit.event.inventory.ClickType click()
click in interface ClickEvent@NotNull public @NotNull org.bukkit.event.inventory.InventoryAction action()
action in interface ClickEvent@NotNull public org.bukkit.event.inventory.InventoryType.SlotType slot()
slot in interface ClickEvent@NotNull public @NotNull Optional<org.bukkit.inventory.ItemStack> cursor()
cursor in interface ClickEvent@NotNull public @NotNull Optional<org.bukkit.inventory.ItemStack> current()
current in interface ClickEvent@NotNull public @NotNull InventoryContents contents()
contents in interface SmartEventpublic void cancel()
cancel in interface SmartEventpublic void close()
close in interface SmartEventCopyright © 2021. All rights reserved.