Interface EnchantingInventory

All Superinterfaces:
Inventory, java.lang.Iterable<ItemStack>

public interface EnchantingInventory
extends Inventory
Interface to the inventory of an Enchantment Table.
  • Method Details

    • 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.
    • setSecondary

      void setSecondary​(ItemStack item)
      Set the secondary item being used for the enchant.
      Parameters:
      item - The new item
    • getSecondary

      ItemStack getSecondary()
      Get the secondary item being used for the enchant.
      Returns:
      The second item