'Read Mincraft texture pack OpenGL

I am trying to create a Mincraft game using OpenGL, and I was wondering how could I use the official texture pack for my project.

But unlike other sources (obj files for example) I couldn’t find a way to get the data about the model (meshes, vertices, Indic’s, texture cords, etc) all I could find was the texture itself.

So first of all I would like to know if such a thing is even possible, and if yes how.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source