Class RewardGUI

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

public class RewardGUI extends GUI
  • Constructor Details

    • RewardGUI

      public RewardGUI(NDailyRewards plugin, String title, int size, LinkedHashMap<String,GUIItem> items, int[] day_slots, org.bukkit.inventory.ItemStack day_ready, org.bukkit.inventory.ItemStack day_taken, org.bukkit.inventory.ItemStack day_locked, org.bukkit.inventory.ItemStack day_next)
  • Method Details

    • start

      public void start()
    • open

      public void open(org.bukkit.entity.Player p)
      Overrides:
      open in class GUI
    • onOpen

      public void onOpen(org.bukkit.event.inventory.InventoryOpenEvent e)
    • onClose

      public boolean onClose(org.bukkit.entity.Player p, org.bukkit.event.inventory.InventoryCloseEvent e)
      Overrides:
      onClose in class GUI
    • click

      public boolean click(org.bukkit.entity.Player p, org.bukkit.inventory.ItemStack item, ContentType type, int slot, org.bukkit.event.inventory.InventoryClickEvent e)
      Overrides:
      click in class GUI