subtractScore method

Score subtractScore(
  1. Score score
)

subtracts another score from this one

Implementation

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