MoreMcmeta / core

Animate almost any Minecraft texture with more options. Texture configuration API. 1.16-1.20
GNU Lesser General Public License v3.0
28 stars 5 forks source link

Can the "animation.frametime" property of .mcmeta be modified? #52

Closed yedaming12 closed 10 months ago

yedaming12 commented 10 months ago

I've done some dynamic PNGS, but the minimum unit of refresh rate is 1tick, which is a very low frequency for me. I tried to modify them, but found it difficult. I don't know if you've ever thought about doing this. Maybe you can give me some guidance while I'm still trying to modify them.

soir20 commented 10 months ago

Yes, you can modify the frametime property as specified in the animation format guide. Can you show what you've tried?

Keep in mind that the file extension needs to be .moremcmeta and not .mcmeta, and the property name is frametime and not frameTime.

soir20 commented 10 months ago

There's also some examples in the demo resource pack (see assets/minecraft/textures/entity/bat.png.moremcmeta).

Also, I'm going to convert this to a discussion thread since it's more of a question.