org.bukkit.inventory
Interface EnchantingInventory

All Superinterfaces:
Inventory, Iterable<ItemStack>

public interface EnchantingInventory
extends Inventory

Interface to the inventory of an Enchantment Table.


Method Summary
 ItemStack getItem()
          Get the item being enchanted.
 void setItem(ItemStack item)
          Set the item being enchanted.
 
Methods inherited from interface org.bukkit.inventory.Inventory
addItem, all, all, all, clear, clear, contains, contains, contains, contains, contains, contains, containsAtLeast, first, first, first, firstEmpty, getContents, getHolder, getItem, getMaxStackSize, getName, getSize, getTitle, getType, getViewers, iterator, iterator, remove, remove, remove, removeItem, setContents, setItem, setMaxStackSize
 

Method Detail

setItem

void setItem(ItemStack item)
Set the item being enchanted.

Parameters:
item - The new item

getItem

ItemStack getItem()
Get the item being enchanted.

Returns:
The current item.


Copyright © 2014. All rights reserved.