IconFlux: Export Perfect Minecraft Item Icons as PNG and APNG

IconFlux exports pixel-perfect item icons and lossless animated APNGs straight from Minecraft rendering, with clean transparency. Download IconFlux for Minecraft.

IconFlux: Pixel-Perfect Item Icons Straight From Minecraft

Every mod page, wiki and resource pack preview needs item icons, and hand-cropping screenshots never quite works. Edges come out jagged, transparency picks up dirt from the background, and animated textures lose frames the moment the game stutters. IconFlux solves that problem from the inside. It is a client-side tool that reads the game's own rendering pipeline, so every exported icon matches what you see in the inventory exactly, down to the last pixel and the last frame of an animation.

Because the icons are rendered by Minecraft rather than approximated by an external converter, model layers, enchantment glints and transparency all behave the way players expect. IconFlux turns any item's inventory icon into an APNG or a still PNG, with the transparency handled properly and the animation taken straight from the game.

What IconFlux Does and Why It Matters

Most icon workflows rely on screenshots or texture files pulled out of a jar. Both approaches fall short. A screenshot flattens the item's 3D model into whatever angle the camera happened to be at, and a raw texture file ignores the layers a model stacks together. IconFlux avoids both traps. Items whose model stacks layer0, layer1 and so on are composited before writing, so the exported icon matches the game rather than a single texture.

The output is organized and predictable:

  • Files land in .minecraft/IconFlux/<namespace>/<size>x/, one folder per mod and per size.
  • Names use the item's display name in the current game language, with characters Windows rejects replaced.
  • Still items produce one file only, with no _static copy.
  • Animated items produce an APNG plus a _static.png taken from frame 0.

Supported Versions and Loaders

IconFlux is a Fabric mod aimed at modern Minecraft releases. Full support covers 1.21.1 and 1.20.1, while the 26.x line (26.1.2, 26.2 and 26.3) unlocks the most precise export behavior. The difference comes down to the texture atlas: 26.x exposes an animation state list that can be read and written through reflection, while 1.21.1 and 1.20.1 drive animation through an opaque sprite ticker that exposes no frame index. On those older versions, export starts at whatever frame the animation is on and can skip frames when the game stutters.

That is exactly where the rawanim command earns its place. It slices the texture and its mcmeta directly instead of going through rendering, so the cycle always starts at frame 0 and no frame is lost to a stutter. Frametime, per-frame time, width and height, and interpolate are all read from the file, and the result behaves identically on every supported version.

How to Install

Setup is quick. Install Fabric for your game version, drop the mod into your mods folder, and launch the client. If you would rather skip the manual steps, the foxygame.net launcher handles IconFlux in a single click and keeps it updated automatically whenever a new build ships, which removes any guesswork about matching versions. Once in-game, type /iconflux help to confirm the mod loaded and to see the full command list.

Exporting Icons: Commands and Options

The command set is compact but flexible. Use /iconflux export <namespace> all to process every item in a mod, or target a single item with /iconflux export <namespace> <item>. For example, a rendered diamond icon that matches the inventory is as simple as /iconflux export minecraft diamond auto auto 128. Variants are selectable with brackets such as [grade=3]; only grade is read, and other keys are ignored.

Three arguments shape the result:

  • Frames accepts auto or 1 to 256. Omitting it means auto, which follows the texture's mcmeta.
  • Interpolation takes auto, forceinterpolate or forcenointerpolate to control whether blended sub-frames are written.
  • Size runs from 16 to 512 pixels, with 128 as the default.

Safety rails are built in. Memory use is estimated before slicing, and anything over 256 MB is refused with its name in chat, together with everything that was skipped. Closing the export screen, a failed write or switching items no longer leaks native images, and writes outside the output folder are rejected.

Raw Animation Export

Added in version 1.1.0, /iconflux rawanim [namespace] [mode] [size] is the tool of choice when an exact cycle matters. The APNG keeps the original total duration and splits each frame's time across the blended sub-frames, so timing stays faithful even when you force interpolation.

Tips for Clean Results

Start the client in a superflat world on Peaceful, so nothing disturbs the export. Nothing moves, nothing attacks, and the world stays quiet while the tool works through a long list. A progress screen opens during export and blocks movement; press ESC to cancel, and files already written are kept.

Speed deserves a mention. Every frame is captured and written, so a large namespace takes a while. Start with one item to check the result before running a whole mod. Forced interpolation, a high frame count and a large size each multiply the work, so keep them reasonable. Animations past 256 frames, or with a single frame held for more than 2 seconds, are written as still images; export that item on its own to capture the full cycle.

Finally, respect authorship. IconFlux only reads resources your client has already loaded, and the copyright of every texture, model and animation stays with its author. Use exported files only where you have the right to use them, and never redistribute other people's textures as your own.

Final Thoughts

Whether you maintain a wiki, build resource pack previews or just want a tidy icon set for a modpack page, IconFlux removes the tedious part of the job. If you are ready to download IconFlux for Minecraft, grab the build that matches your Fabric version, run a test export on a single item, and let the game render the rest.

===ARTICLE===