addScore method

Score addScore(
  1. Score score
)

adds another score to this one

Implementation

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