
org.bukkit.inventory.EnchantingInventory Maven / Gradle / Ivy
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