aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_change_difficulty_packet.rs
blob: 57cb1f69b0a2d031c4fc48f487fd1d6ea24c94f3 (plain)
1
2
3
4
5
6
7
8
9
use azalea_buf::McBuf;
use azalea_core::Difficulty;
use packet_macros::GamePacket;

#[derive(Clone, Debug, McBuf, GamePacket)]
pub struct ClientboundChangeDifficultyPacket {
    pub difficulty: Difficulty,
    pub locked: bool,
}