AnimationJS
by Liopyu
AnimationJS lets scripts play and control player animations through the playerAnimator mod, with server-side triggers and conditional logic.
What it does
Scripts written with the KubeJS addon can trigger player animations on the server, reading and changing the server player object. A universal animation controller decides which animation plays according to conditions defined in the script, so animations can respond to what a player is doing. Playback runs through the playerAnimator mod, and the animations are driven from Lio's Player Animator API.
Plays Geckolib animations is one of the optional integrations, handled through LioLib. Every player and the server need a copy of the mod. Builds are published for Forge and NeoForge, covering 1.19.2 – 1.20.1, with 1.20.1-0.1.3 as the latest file. The code is open source under the GNU General Public License v3.0 only.
Key features
Server-sided animation triggers
Animations can be started from server scripts using the server player object, so the server decides when a player plays one.
Conditional animation control
A universal animation controller sets which player animations play based on conditions the script defines.
playerAnimator playback
Animations are played through the playerAnimator mod, which handles how they appear on each player.
KubeJS scripting
Scripters use the KubeJS addon to animate players dynamically, without writing a separate Java mod.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Scripted server events
A server script can start an animation when a player completes a quest or enters an area.
Conditional player poses
A script can choose a different animation depending on the player's state, using the controller's conditions.
Who it’s for: Modpack authors and server owners who write KubeJS scripts and want to animate players. Players join without a separate install beyond the mod itself on the client side.
Questions
Does AnimationJS need KubeJS to work?
Which loaders does AnimationJS support?
Do Geckolib animations work with AnimationJS?
More from Liopyu
What the author says
The AnimationJS mod is an addon for KubeJS that allows scripters to dynamically animate Players utilizing the playerAnimator mod. Ability to trigger server-sided animations off any server player object
Official listing
- Modrinth page
- modrinth.com/mod/animationjs
- Owner
- Liopyu
- Published
- 2024-04-04
- Updated on Modrinth
- 2026-04-24
- Facts verified
- 2026-10-15
