Animated Java logo Animated Java

Exporting

Exporting turns your Blueprint into something Minecraft can use. Depending on your Blueprint Settings, it writes:

  • a Resource Pack with your rig’s models and textures,
  • a Data Pack with the functions that summon and animate it,
  • or, in Plugin mode, a single JSON file for a server plugin.

Before You Export

Open Animated Java Blueprint Settings and check that:

  • the Blueprint ID is set and unique, like my_pack:boss,
  • the Target Minecraft Version matches your world or server,
  • the Resource Pack and Data Pack formats and paths are set.

A pack whose format is None is skipped.

Export Actions

All of these live in the Animated Java menu.

Export (Debug)

Ctrl + E. Use this while you’re building your project. Debug exports add checks that help you catch mistakes in-game:

  • Functions that must run as the rig’s root entity print an error instead of silently doing the wrong thing.
  • Bad function arguments, like an empty name or an unknown Variant, print an error explaining what went wrong.
  • Rigs summoned with an older export of the Blueprint glow red and print a warning after /reload, so you know to re-summon them.

Export

Ctrl + Shift + E. Leaves out the debug checks, for smaller and faster functions. Use it for the version you ship.

Export All / Export All (Debug)

Exports every open Blueprint, in normal or debug mode.

Export Collection / Export Collection (Debug)

Under Blueprint Collection. Exports every Blueprint in the active Blueprint’s collection, in normal or debug mode.

Extract

Extract Confirm Extraction deletes every file this Blueprint exported to its Resource Pack and Data Pack folders. Use it to remove a rig from your packs.

What Export Checks

Animated Java refuses to export, and tells you why, if:

  • a Blueprint Setting has an error, like a missing pack folder,
  • a cube is rotated in a way your target version doesn’t allow (see Rotation Limitations),
  • the Resource Pack is set to None but the Blueprint has Cubes,
  • the Blueprint has textures but no Cubes, or Cubes but no textures,
  • an animation uses Texture Slot keyframes, or a bone uses a tint type, that the target version doesn’t support,
  • a bone uses textures its item model can’t draw (see Item Model Atlases),
  • a Permutation Set has a problem, like a palette with a different number of colors than its key.

While it works, the export progress dialog shows each step and how far along it is.

Item Model Atlases

Minecraft draws every item model from a single texture atlas, and textures outside it render as missing:

Target VersionItem models can use
Before 1.21.11The blocks atlas.
1.21.11 and newerThe items or the blocks atlas, but only one per bone.

Animated Java’s own textures are always fine. This catches textures linked from a Resource Pack that aren’t in a usable atlas, and bones that mix textures from both atlases.

If another Resource Pack adds the texture to an atlas, add that pack to your Preview Resource Packs so Animated Java can see it.

Cleaning Up Old Files

When a pack is exported as a Folder, Animated Java records every file it writes in an .ajmeta file at the pack’s root (assets.ajmeta in the Resource Pack, data.ajmeta in the Data Pack). On the next export, files from the previous export that are no longer needed are deleted, so renamed or removed animations don’t leave stale functions behind.

Files that haven’t changed since the last export are left alone, so re-exports stay quick and don’t trip up file watchers, sync tools, or git diffs.

Don’t delete these files. Without them, Animated Java can’t tell which files it made.

Plugin Exports

When the Target Environment is Plugin, exporting writes one JSON file instead of a Resource Pack and Data Pack. A server plugin reads that file to build and animate the rig itself.

The JSON file contains the rig’s nodes (including their parents and any Interactions), Variants, Texture Slots, textures, and animations. See Baked Animations for how animations are stored.

Typical Workflow

  1. Change your model, animations, or settings.
  2. Click Export (Debug).
  3. In Minecraft, press F3 + T to reload the Resource Pack, and run /reload to reload the Data Pack.
  4. Re-summon your rig and test it.

When everything works, use Export for the final version.