namespace Minecraft.Server.FourKit.Inventory;
///
/// Represents the inventory of a Beacon.
/// Single slot at index 0.
///
public class BeaconInventory : Inventory
{
internal BeaconInventory(string title, int size, int entityId)
: base(title, InventoryType.BEACON, size, entityId)
{
}
///
/// Get the item in the beacon's single slot.
///
/// The item.
public ItemStack? getBeaconItem() => getItem(0);
///
/// Set the item in the beacon's single slot.
///
/// The item to set.
public void setBeaconItem(ItemStack? item) => setItem(0, item);
}