Class AbstractStorageMode.AbstractDepositAllButton
java.lang.Object
net.okocraft.box.feature.gui.api.mode.AbstractStorageMode.AbstractDepositAllButton
- All Implemented Interfaces:
Button
- Enclosing class:
AbstractStorageMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractDepositAllButton
(int slot, @NotNull BiPredicate<PlayerSession, org.bukkit.event.inventory.ClickType> canDepositAll, @NotNull ClickResult cancelledResult) -
Method Summary
Modifier and TypeMethodDescriptionint
getSlot()
@NotNull ClickResult
onClick
(@NotNull PlayerSession session, @NotNull org.bukkit.event.inventory.ClickType clickType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.okocraft.box.feature.gui.api.button.Button
createIcon
-
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() -
onClick
@NotNull public @NotNull ClickResult onClick(@NotNull @NotNull PlayerSession session, @NotNull @NotNull org.bukkit.event.inventory.ClickType clickType)
-