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 ${toString()} /= ${toString(entity: score.entity, score: score.score)}',
    ),
  );
}