Interface BoxItemClickMode
- All Known Implementing Classes:
AbstractStorageMode
public interface BoxItemClickMode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canUse
(@NotNull PlayerSession session) @NotNull Button
createAdditionalButton
(@NotNull PlayerSession session, int slot) @NotNull org.bukkit.inventory.ItemStack
createItemIcon
(@NotNull PlayerSession session, @NotNull BoxItem item) @NotNull Component
getDisplayName
(@NotNull PlayerSession session) @NotNull org.bukkit.Material
boolean
@NotNull ClickResult
onClick
(@NotNull PlayerSession session, @NotNull BoxItem item, @NotNull org.bukkit.event.inventory.ClickType clickType) void
onSelect
(@NotNull PlayerSession session)
-
Method Details
-
getIconMaterial
@NotNull @NotNull org.bukkit.Material getIconMaterial() -
getDisplayName
-
createItemIcon
@NotNull @NotNull org.bukkit.inventory.ItemStack createItemIcon(@NotNull @NotNull PlayerSession session, @NotNull @NotNull BoxItem item) -
onSelect
-
onClick
@NotNull @NotNull ClickResult onClick(@NotNull @NotNull PlayerSession session, @NotNull @NotNull BoxItem item, @NotNull @NotNull org.bukkit.event.inventory.ClickType clickType) -
hasAdditionalButton
boolean hasAdditionalButton() -
createAdditionalButton
-
canUse
-