modulo method

Score modulo(
  1. Score score
)

sets this score to the remainder of the division

Implementation

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