copyScore method

Storage copyScore(
  1. String key, {
  2. double scale = 1,
  3. String datatype = 'byte',
  4. Score? score,
})

Similar to copyData is copyScore which copies the value of a score into a nbt path.

Implementation

Storage copyScore(
  String key, {
  double scale = 1,
  String datatype = 'byte',
  Score? score,
}) =>
    Storage.copyScore(name,
        autoNamespace: autoNamespace,
        key: key,
        scale: scale,
        datatype: datatype,
        score: score);