Interface CartographyInventory


public interface CartographyInventory
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.inventory.Inventory
    Gets Bukkit's Inventory associated to this AnvilInventory
    boolean
    Gets if this inventory is currently open.
    void
    Opens the inventory.
    void
    setItem(int slot, org.bukkit.inventory.ItemStack itemStack)
    Sets an ItemStack on one of the three slots.
  • Method Details

    • getBukkitInventory

      org.bukkit.inventory.Inventory getBukkitInventory()
      Gets Bukkit's Inventory associated to this AnvilInventory
      Returns:
      The Inventory
    • setItem

      void setItem(int slot, org.bukkit.inventory.ItemStack itemStack)
      Sets an ItemStack on one of the three slots.
      Parameters:
      slot - The slot
      itemStack - The ItemStack
    • open

      void open()
      Opens the inventory.
    • isOpen

      boolean isOpen()
      Gets if this inventory is currently open.
      Returns:
      If the inventory is currently open