Interface CartographyInventory
public interface CartographyInventory
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.InventoryGets Bukkit'sInventoryassociated to thisAnvilInventorybooleanisOpen()Gets if this inventory is currently open.voidopen()Opens the inventory.voidsetItem(int slot, org.bukkit.inventory.ItemStack itemStack) Sets anItemStackon one of the three slots.
-
Method Details
-
getBukkitInventory
org.bukkit.inventory.Inventory getBukkitInventory()Gets Bukkit'sInventoryassociated to thisAnvilInventory- Returns:
- The
Inventory
-
setItem
void setItem(int slot, org.bukkit.inventory.ItemStack itemStack) Sets anItemStackon one of the three slots.- Parameters:
slot- The slotitemStack- TheItemStack
-
open
void open()Opens the inventory. -
isOpen
boolean isOpen()Gets if this inventory is currently open.- Returns:
- If the inventory is currently open
-