fn spawn_random_entity(pos: Vec3<i32>, painter: &Painter, rot: u8)