Skip to main content

steel_protocol/packets/game/
c_set_cursor_item.rs

1use steel_macros::{ClientPacket, WriteTo};
2use steel_registry::{item_stack::ItemStack, packets::play::C_SET_CURSOR_ITEM};
3
4#[derive(ClientPacket, WriteTo, Clone, Debug)]
5#[packet_id(Play = C_SET_CURSOR_ITEM)]
6pub struct CSetCursorItem {
7    pub item_stack: ItemStack,
8}