Animated textures are handled in library for you and just require a simple .mcmeta file created for your texture. This works exactly the same way vanilla does it here
Example File setup:
Texture Files: yourtexture.pngMCMeta File: yourtexture.png.mcmeta
Example .mcmeta file:
{"animation": {}}