namespace Minecraft.Server.FourKit.Inventory; /// /// Represents the inventory of an Enchanting Table. /// Single slot at index 0. /// public class EnchantingInventory : Inventory { internal EnchantingInventory(string title, int size, int entityId) : base(title, InventoryType.ENCHANTING, size, entityId) { } /// /// Get the item being enchanted. /// /// The item. public ItemStack? getEnchantItem() => getItem(0); /// /// Set the item being enchanted. /// /// The item to set. public void setEnchantItem(ItemStack? item) => setItem(0, item); }