add method

Score add([
  1. int val = 1
])

adds a value to the score

Implementation

Score add([int val = 1]) {
  return addCommandRet(
    Command(
      'scoreboard players add ${toString()} $val',
    ),
  );
}