Class AbstractStorageMode.AbstractDepositAllButton

java.lang.Object
net.okocraft.box.feature.gui.api.mode.AbstractStorageMode.AbstractDepositAllButton
All Implemented Interfaces:
Button
Enclosing class:
AbstractStorageMode

protected abstract static class AbstractStorageMode.AbstractDepositAllButton extends Object implements Button
  • Constructor Details

    • AbstractDepositAllButton

      protected AbstractDepositAllButton(int slot, @NotNull @NotNull BiPredicate<PlayerSession,org.bukkit.event.inventory.ClickType> canDepositAll, @NotNull @NotNull ClickResult cancelledResult)
  • Method Details

    • getSlot

      public int getSlot()
      Specified by:
      getSlot in interface Button
    • onClick

      @NotNull public @NotNull ClickResult onClick(@NotNull @NotNull PlayerSession session, @NotNull @NotNull org.bukkit.event.inventory.ClickType clickType)
      Specified by:
      onClick in interface Button