All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bukkit.inventory.EnchantingInventory Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package org.bukkit.inventory;

/**
 * Interface to the inventory of an Enchantment Table.
 */
public interface EnchantingInventory extends Inventory {

  /**
   * Get the item being enchanted.
   *
   * @return The current item.
   */
  ItemStack getItem();

  /**
   * Set the item being enchanted.
   *
   * @param item The new item
   */
  void setItem(ItemStack item);

  /**
   * Get the secondary item being used for the enchant.
   *
   * @return The second item
   */
  ItemStack getSecondary();

  /**
   * Set the secondary item being used for the enchant.
   *
   * @param item The new item
   */
  void setSecondary(ItemStack item);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy