Class SpigotMenuItem

java.lang.Object
com.guflimc.brick.gui.spigot.menu.SpigotMenuItem
All Implemented Interfaces:
MenuItem

public class SpigotMenuItem extends Object implements MenuItem
  • Constructor Details

    • SpigotMenuItem

      public SpigotMenuItem(org.bukkit.inventory.ItemStack handle, Consumer<org.bukkit.event.inventory.InventoryClickEvent> callback)
    • SpigotMenuItem

      public SpigotMenuItem(org.bukkit.inventory.ItemStack handle)
  • Method Details

    • handle

      public org.bukkit.inventory.ItemStack handle()
      Specified by:
      handle in interface MenuItem
    • callback

      public Consumer<org.bukkit.event.inventory.InventoryClickEvent> callback()
      Specified by:
      callback in interface MenuItem