Compatibility
Minecraft: Java Edition
Links
Creators
Details
- Convert Blockbench keyframe animations into EMF expressions for OptiFine CEM models
- EMF Keyframe Exporter converts Blockbench keyframe animations into Entity Model Features (EMF) expressions for OptiFine Custom Entity Models.
Features
- Export position, rotation, and scale keyframes as EMF animation expressions.
- Preserve Linear, Step, Smooth (Catmull-Rom), and Bézier keyframe interpolation modes.
- Optionally export tracks through named var.* variables with a configurable prefix.
- Optionally export each animated target through a named var.* variable.
- Choose entity-state triggers, including is_riding, is_sitting, and is_sprinting, or use walking animation timing.
- Use Idle timing or the detected is_falling trigger.
- Select Loop, Play Once, or Hold on Last Frame playback.
- Combine multiple Blockbench animations into randomly selected EMF animation variations.
- Convert supported math expressions to EMF syntax.
- Generate EMF JSON and apply it to a CEM group in the Animation Editor.
- Append generated expressions to existing group animations, combining matching targets by trigger.
- Automatically add +90 degrees to body.rx for Always, Walking, and is_ animations when the body group contains this.rx: 0.
How to install
1 - Download the resource pack 2 - Unzip it 3 - Drag and drop the .js file to blockbench 4 - You're good to go! Enjoy it!
How to use
Open an OptiFine Entity project, create or select an animation in Animate, then open EMF Animation. Choose a trigger and playback mode, generate the EMF code, then apply it to replace the selected group's animation data or append it to the existing data.
To create variations, enable Variated Animations, choose two or more animations in the picker, and click Generate Animation Variations. Optionally choose a main animation and set the chance and minimum interval for other variations. While the trigger remains active, the main animation plays a full cycle before each chance roll; a selected variation plays once, then the main animation resumes.
Requirements
Install CEM Template Loader to use the CEM Animation Editor integration.


