Class CartographyWindow

All Implemented Interfaces:
GUIParent, Window

public final class CartographyWindow extends SingleWindow
  • Constructor Details

    • CartographyWindow

      public CartographyWindow(org.bukkit.entity.Player player, String title, GUI gui)
    • CartographyWindow

      public CartographyWindow(org.bukkit.entity.Player player, String title, GUI gui, boolean closeable)
    • CartographyWindow

      public CartographyWindow(org.bukkit.entity.Player player, net.md_5.bungee.api.chat.BaseComponent[] title, GUI gui)
    • CartographyWindow

      public CartographyWindow(org.bukkit.entity.Player player, net.md_5.bungee.api.chat.BaseComponent[] title, GUI gui, boolean closeable)
  • Method Details

    • updateMap

      public void updateMap(@Nullable @Nullable de.studiocode.inventoryaccess.map.MapPatch patch, @Nullable @Nullable List<de.studiocode.inventoryaccess.map.MapIcon> icons)
    • updateMap

      public void updateMap(de.studiocode.inventoryaccess.map.MapPatch patch)
    • updateMap

      public void updateMap(List<de.studiocode.inventoryaccess.map.MapIcon> icons)
    • resetMap

      public void resetMap()
    • setInvItem

      protected void setInvItem(int slot, org.bukkit.inventory.ItemStack itemStack)
      Overrides:
      setInvItem in class SingleWindow
    • handleClick

      public void handleClick(org.bukkit.event.inventory.InventoryClickEvent event)
      Description copied from interface: Window
      A method called by the WindowManager to notify the Window that one of its Items has been clicked.
      Specified by:
      handleClick in interface Window
      Overrides:
      handleClick in class SingleWindow
      Parameters:
      event - The InventoryClickEvent associated with this action.
    • show

      public void show()
      Description copied from interface: Window
      Shows the window to the player.
      Specified by:
      show in interface Window
      Overrides:
      show in class BaseWindow