Package org.bukkit.inventory
Interface EnchantingInventory
Interface to the inventory of an Enchantment Table.
- 
Method SummaryModifier and TypeMethodDescriptiongetItem()Get the item being enchanted.Get the secondary item being used for the enchant.voidSet the item being enchanted.voidsetSecondary(@Nullable ItemStack item) Set the secondary item being used for the enchant.Methods inherited from interface org.bukkit.inventory.InventoryaddItem, all, all, clear, clear, close, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContentsMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Method Details- 
setItemSet the item being enchanted.- Parameters:
- item- The new item
 
- 
getItemGet the item being enchanted.- Returns:
- The current item.
 
- 
setSecondarySet the secondary item being used for the enchant.- Parameters:
- item- The new item
 
- 
getSecondaryGet the secondary item being used for the enchant.- Returns:
- The second item
 
 
-