private boolean breakListElement(final BinaryTagType<?> type) {
    // lists should break between elements on any non-scalar element
    return type == BinaryTagTypes.COMPOUND
      || type == BinaryTagTypes.LIST
      || type == BinaryTagTypes.BYTE_ARRAY
      || type == BinaryTagTypes.INT_ARRAY
      || type == BinaryTagTypes.LONG_ARRAY;
  }
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