public final class IcDragEvent extends Object implements DragEvent
| Constructor and Description |
|---|
IcDragEvent(@NotNull org.bukkit.plugin.Plugin plugin,
@NotNull org.bukkit.event.inventory.InventoryDragEvent event,
@NotNull InventoryContents contents,
@NotNull Icon icon) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Map<Integer,org.bukkit.inventory.ItemStack> |
added() |
void |
cancel() |
void |
close() |
@NotNull InventoryContents |
contents() |
@NotNull org.bukkit.event.inventory.DragType |
drag() |
@NotNull Icon |
icon() |
@NotNull Optional<org.bukkit.inventory.ItemStack> |
newcursor() |
@NotNull Set<Integer> |
slots() |
public IcDragEvent(@NotNull
@NotNull org.bukkit.plugin.Plugin plugin,
@NotNull
@NotNull org.bukkit.event.inventory.InventoryDragEvent event,
@NotNull
@NotNull InventoryContents contents,
@NotNull
@NotNull Icon icon)
@NotNull public @NotNull org.bukkit.event.inventory.DragType drag()
@NotNull public @NotNull Optional<org.bukkit.inventory.ItemStack> newcursor()
@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.