public @NotNull Builder indent(final int spaces) {
      if (spaces == 0) {
        this.indent = "";
      } else if ((this.indent.length() > 0 && this.indent.charAt(0) != ' ') || spaces != this.indent.length()) {
        final char[] indent = new char[spaces];
        Arrays.fill(indent, ' ');
        this.indent = String.copyValueOf(indent);
      }
      return this;
    }
Set the indent for new levels of pretty-printing.

<p>Providing a level of {@code 0} will disable pretty-printing</p>

@param spaces Spaces to indent each level with
@return this builder
@since 4.0.0
nbt/src/main/java/net/kyori/adventure/nbt/TagStringIO.java