azalea_protocol/packets/game/clientbound_block_destruction_packet.rs
use azalea_buf::McBuf;
use azalea_core::position::BlockPos;
use azalea_protocol_macros::ClientboundGamePacket;
#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
pub struct ClientboundBlockDestructionPacket {
/// The ID of the entity breaking the block.
#[var]
pub id: u32,
pub pos: BlockPos,
/// 0–9 to set it, any other value to remove it.
pub progress: u8,
}