public TagStringWriter value(final String value, final char valueType) throws IOException {
    if (valueType == Tokens.EOF) { // string doesn't have its type
      this.writeMaybeQuoted(value, true);
    } else {
      this.out.append(value);
      if (valueType != Tokens.TYPE_INT) {
        this.out.append(valueType);
      }
    }
    this.needsSeparator = true;
    return this;
  }
Whether a {@link Tokens#VALUE_SEPARATOR} needs to be printed before the beginning of the next object.
nbt/src/main/java/net/kyori/adventure/nbt/TagStringWriter.java