azalea_protocol/packets/game/
c_initialize_border.rs

1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ClientboundGamePacket;
3
4#[derive(Clone, Debug, ClientboundGamePacket, AzBuf)]
5pub struct ClientboundInitializeBorder {
6    pub new_center_x: f64,
7    pub new_center_z: f64,
8    pub old_size: f64,
9    pub new_size: f64,
10    #[var]
11    pub lerp_time: u64,
12    #[var]
13    pub new_absolute_max_size: u32,
14    #[var]
15    pub warning_blocks: u32,
16    #[var]
17    pub warning_time: u32,
18}