aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_block_update.rs
blob: dc193719791b8bc617f4d987730519485613a518 (plain)
1
2
3
4
5
6
7
8
9
10
use azalea_block::BlockState;
use azalea_buf::AzBuf;
use azalea_core::position::BlockPos;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)]
pub struct ClientboundBlockUpdate {
    pub pos: BlockPos,
    pub block_state: BlockState,
}