use azalea_client::inventory::SetSelectedHotbarSlotEvent;
use azalea_entity::inventory::Inventory;
use azalea_inventory::Menu;
use crate::{Client, client_impl::error::AzaleaResult};
impl Client {
/// Return the menu that is currently open, or the player's inventory if no
/// menu is open.
///
/// If you need to interact with the menu, consider using
/// [`Self::open_inventory`] instead.
pub fn menu(&self) -> AzaleaResult