fn adjust_entity_view_distance(
    entity_vd: u32,
    settings: &mut Settings,
    session_state: &mut SessionState,
)