Interface InventoryGui.CloseAction

Enclosing class:
InventoryGui

public static interface InventoryGui.CloseAction
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Executed when a player closes a GUI inventory
  • Method Details

    • onClose

      boolean onClose(InventoryGui.Close close)
      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