Skip to main content

steel_protocol/packets/game/
s_pick_item_from_block.rs

1use steel_macros::{ReadFrom, ServerPacket};
2use steel_utils::BlockPos;
3
4/// Serverbound packet sent when a player uses the pick block key (middle click) on a block.
5#[derive(ReadFrom, ServerPacket, Clone, Debug)]
6pub struct SPickItemFromBlock {
7    pub pos: BlockPos,
8    pub include_data: bool,
9}