divideByScore method

Score divideByScore(
  1. Score score
)

sets this score to the result of the division

Implementation

Score divideByScore(Score score) {
  return addCommandRet(
    Command(
      'scoreboard players operation ${_getESStr()} /= ${_getESStr(entity: score.entity, score: score.score)}',
    ),
  );
}