chunkedge_protocol/
movement_flags.rs

1use bitfield_struct::bitfield;
2use chunkedge_binary::{Decode, Encode};
3
4#[bitfield(u8)]
5#[derive(PartialEq, Eq, Encode, Decode)]
6pub struct MovementFlags {
7    pub on_ground: bool,
8    pub pushing_against_wall: bool,
9    #[bits(6)]
10    _padding: u8,
11}