Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
Animated Mod Menu Icons (AMMI) adds support for animated mod icons in Mod Menu using Minecraft's .mcmeta animation format. This mod enables other mods to provide animated icons in Mod Menu. Mods that don't include animated icons are unaffected.
The animated icon used by AMMI itself is included as an example of what is possible. Credit for the original icon design goes to Mod Menu.
How to use:
Keep your existing icon for when AMMI is not installed:
assets/examplemod/icon.png
Then add an animated version alongside it:
assets/examplemod/icon.animation.png
assets/examplemod/icon.animation.png.mcmeta
You dont need to add or change anything in your fabricmod.json, AMMI will automatically detect icon.animation.png and use it whenever it is installed. If AMMI isn't present, Mod Menu will simply display the normal static icon.
Animation
Animations use Minecraft's .mcmeta format, so they behave exactly like animated textures in resource packs. All you need to do is stack the frames that you would like to animate an animated texture in Minecraft.
You could use https://www.birdflop.com/resources/animtexture/, as it lets you convert a gif to an animated texture and generate the mcmeta file.
The animated image should be a vertical strip of square frames.
Example icon.animation.png:

Which appears like this in-game:



