Package de.themoep.inventorygui
Interface InventoryGui.CloseAction
- Enclosing class:
InventoryGui
public static interface InventoryGui.CloseAction
A functional interface for specifying how closing the inventory should be treated
by implementing the
onClose(Close)
method.
The method should return whether the close should go back or not.-
Method Summary
Modifier and TypeMethodDescriptionboolean
onClose
(InventoryGui.Close close) Executed when a player closes a GUI inventory
-
Method Details
-
onClose
Executed when a player closes a GUI inventory- Parameters:
close
- The close object holding information about this close- Returns:
- Whether or not the close should go back or not
-