pub(crate) fn get_control_input_signal( level: &dyn LevelReader, pos: BlockPos, direction: Direction, only_diodes: bool, ) -> i32