Class MCMenuHolder

java.lang.Object
net.realdarkstudios.commons.menu.MCMenuHolder
All Implemented Interfaces:
org.bukkit.inventory.InventoryHolder

public class MCMenuHolder extends Object implements org.bukkit.inventory.InventoryHolder
  • Constructor Details

    • MCMenuHolder

      public MCMenuHolder(MCMenu menu, org.bukkit.inventory.Inventory inventory)
  • Method Details

    • getMenu

      public MCMenu getMenu()
      Gets the MCMenu associated with this holder
      Returns:
      The associated MCMenu
    • getInventory

      public org.bukkit.inventory.Inventory getInventory()
      Gets the Inventory associated with this holder
      Specified by:
      getInventory in interface org.bukkit.inventory.InventoryHolder
      Returns:
      The associated Inventory