save your [[inventory]] with just one command.
The datapack has been upgraded for version 1.21.1 and above!