swapWith method

Score swapWith(
  1. Score score
)

swaps two scores

Implementation

Score swapWith(Score score) {
  return addCommandRet(
    Command(
      'scoreboard players operation ${_getESStr()} >< ${_getESStr(entity: score.entity, score: score.score)}',
    ),
  );
}