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
For me, none of the images are showing, so I don't know where to place the animation file, what to name the procedure and which event to use, nor what block to use to play the animation.
You could either help me figure out why images aren't showing on mcreator.net, (they are showing on all other sites), or tell me what is shown in the images.
You intend to facilitate the use of animations in multiplayer, I managed to make all my animations appear for both (server and client) and I tested it in multiplayer and it worked too, but currently it is very complicated to do.
Will appear for everyone in multiplayer: animations that are executed in tick events, animations that occur when the player swings the main hand, animations that occur when the player takes damage, take a look at this part of the code, there must be something there that does so that the animations occur for both
It won't work to play animations: using NBT tags, using potion effects, using key activation, using tags, etc.
(server / multiplayer / players) in case anyone was ctrl+f searching the replies