valence_protocol/packets/play/
difficulty_s2c.rs
1use crate::{Decode, Difficulty, Encode, Packet};
2
3#[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Packet)]
4pub struct DifficultyS2c {
5 pub difficulty: Difficulty,
6 pub locked: bool,
7}