Animated textures (items)

How do you make an item texture animated? I have all of the frames and tried everything I could think of. I was able to accidentally animate a block texture (quartz ore) but i don’t know how I did it.

what item are you doing? doesn’t matter really just curious, but you need to make a mcmeta file with this

{ “animation”: { } }

and it should work I think.