addScore method

Score addScore(
  1. Score score
)

adds another score to this one

Implementation

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