Player Animator is a plugin that allows you to animate the player model using smooth keyframe (json) animations created with blockbench, blender or even by hand. This is done though the help of the playerAnimator library.
Example of a player animation:
How to use:
First, you will need to use blockbench, animate a template player model and extract the .json animation. The animation in the first example is made with blender, but you can use the geckolib plugin in blockbench like I did to make the second example.
Now that you have the animation file, it will need to be placed here:
Once you have placed your animation in the correct folder, you need to make an empty procedure and select the event shown below. The procedure does not need any further inspection.
Now, you are ready to use your animations! All you will need to do is include the procedure block provided by the plugin (and have the playerAnimator library enabled in workspace settings).
Potential issues when using the plugin:
"I can't get the animation parts to work correctly!" -You can find the official bbmodel here
"The game keeps crashing when I try use the animation!" -You either didn't place the file in the right place, or you renamed the animation after exporting it. Don't do that.
"I'm getting a build error!" -You didn't name the SetupAnimations procedure correctly, or your use of the procedure block was simply not accounted for.
"The animation won't play!" -None of the entities in your event are players, therefore it has nothing to play for.
Comments
I've been trying to get this plugin to work for months now, and have gone through multiple projects and tutorials to figure out how to make it stop crashing every time the animation is supposed to start, but I still haven't found anything and I still can't get it to work, does anyone know how to fix this?
Hey nerdy! Developer of prime piece, prime slayers here. We're using your plugins for our mods massing around 600k+ downloads but we have a large issue. We're using MCREATOR 2023.4 with alot of plugins and we're using this plugin to do important things like hiding the player with armor on during transformation and moves and we were wondering if you could make a server sided version for 2023.4? Thank you for your time!
it just doesnt work. I played around with this plugin for hours but it just wont play the animations when im in game. Its in the right folder and everthing is named correctly and i just have a simple on key release procedure but it just wont play. Uninstalled. just gonna find a diffrent way to animate the player model.
You can actually make it play multiplayer using the same code snippet Nerdy used for the 1.9 update, I tested and it works! The only thing is that you have to lock your procedure code so Mcreator doesn't override it. This is a bad practice if you're developing multi versions minecraft mods.
does not support molang and scale animations