org.bukkit.inventory.EnchantingInventory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
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