pub fn chest_facing(state: u16) -> u16
Extracts the facing index from a chest state (0=north, 1=south, 2=west, 3=east).