aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/serverbound_set_beacon_packet.rs
blob: db76cb9c589f0232304929d03b4be2b3494b8482 (plain)
1
2
3
4
5
6
7
8
9
10
use azalea_buf::McBuf;
use azalea_protocol_macros::ServerboundGamePacket;

#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
pub struct ServerboundSetBeaconPacket {
    #[var]
    pub primary: Option<u32>,
    #[var]
    pub secondary: Option<u32>,
}