Interface MenuContent


public interface MenuContent
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.inventory.ItemStack
    getDisplayItem(org.bukkit.entity.Player player, ITeam team)
    Item that represent the item in the GUI.
    Get identifier.
    void
    onClick(org.bukkit.entity.Player player, org.bukkit.event.inventory.ClickType clickType, ITeam team)
    Manage what to do on click.
  • Method Details

    • getDisplayItem

      org.bukkit.inventory.ItemStack getDisplayItem(org.bukkit.entity.Player player, ITeam team)
      Item that represent the item in the GUI.
      Returns:
      item.
    • onClick

      void onClick(org.bukkit.entity.Player player, org.bukkit.event.inventory.ClickType clickType, ITeam team)
      Manage what to do on click.
    • getName

      String getName()
      Get identifier.
      Returns:
      content name.