Package 

Interface SocketGemCombinerGui

  • All Implemented Interfaces:
    org.bukkit.event.Listener , org.bukkit.inventory.InventoryHolder

    
    public interface SocketGemCombinerGui
     implements InventoryHolder, Listener
                        

    Represents the GUI used for Socket Gem Combining.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onGuiClick(InventoryClickEvent event) Handles when something is clicked inside the combiner.
      abstract Unit onGuiClose(InventoryCloseEvent event) Handles when the combiner is closed.
      abstract Unit showToPlayer(Player player) Shows the GUI to the given player.
      • Methods inherited from class org.bukkit.inventory.InventoryHolder

        getInventory
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onGuiClick

         abstract Unit onGuiClick(InventoryClickEvent event)

        Handles when something is clicked inside the combiner.

        Implementations probably want to annotate this method with org.bukkit.event.EventHandler.

        Parameters:
        event - Event to listen to
      • onGuiClose

         abstract Unit onGuiClose(InventoryCloseEvent event)

        Handles when the combiner is closed.

        Implementations probably want to annotate this method with org.bukkit.event.EventHandler.

        Parameters:
        event - Event to listen to
      • showToPlayer

         abstract Unit showToPlayer(Player player)

        Shows the GUI to the given player.

        Parameters:
        player - Player to show the GUI to