List of all blocks

Heya! Does there exist a list of all blocks for the latest version(s)? Ideally in JSON format so I can generate a mcfunction based on the data. (I tried generating it based on the file names in the folder 1.21.jar/assets/models/blocks, but that contains more than just every block)
Continue to help post