Player Animator [Forge 1.18.2, 1.19.2, 1.19.4, 1.20.1, 1.21.1]

Supported MCreator versions
2022.2
2022.3
2023.1
2023.2
2023.3
2023.4
2024.1
2024.2
2024.3
Tags / plugin type
API support
Global triggers
Procedures
player animator
Downloads:
13416
Upvotes: 157
About the plugin

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:

 

animation example

flip 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:

file location

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.

name

procedure

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).

procedure block

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.

License
MIT License

Plugin downloads
Player Animator v1.8.1 - playerAnimator_0.zip Uploaded on: 04/13/2024 - 04:26   File size: 12.37 KB
Player Animator v1.9 (2024.1, 2024.2 ONLY) - (1.20.1 only) server synced - playerAnimator_1.zip Uploaded on: 07/27/2024 - 09:18   File size: 9.08 KB
Player Animator v2.0 (2024.2, 2024.3 ONLY) - (1.20.1 forge, 1.21.1 neoforge) server synced - playerAnimator.zip Uploaded on: 10/24/2024 - 10:53   File size: 9.41 KB

Comments

My animations work but I have a run animation that I don't know how to hold. Does anyone know how to hold an animation a loop without the animation being stuck forever or keep repeating the beginning? Thanks

I created a folder with the correct name ("player_animation"), loaded the animation into it, created the "SetupAnimations" procedure, but nothing works, MCreator gives a build error. Halp pls

How to make a player animation for a specific item for example slashing or just holding it a different way in 3rd person

Nerdy, could you in the next update add the "query.rotation_to_camera" functions? So that animations start where the players head already is. I'm using real camera and the animation just snaps to the vector 0 0 0 and it's nauseating. Ik not a you problem, but I would love if you added it!
stuff like: query.rotation_to_camera(1) - query.body_y_rotation

I am having an issue where the player_animation folder will not generate. I tried to reinstall plugin and create a new workspace. Any help is greatly appriciated.

yo nerdy , do you mind if you update your plugin builder to support 2024.3? when you have time

"(and have the playerAnimator library enabled in workspace settings)" where can i download the library to put it in workspace settings?

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?

I'm starting to give up at this point because it seems like this plugin just simply doesn't work no matter what I try, please fix it and yes, I've done everything your supposed to do, it just doesn't work

Nevermind, if anyone is experiencing this issue, just use world event tick and for each player in world to play animations for it to be server sided without the server sided plugin.

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!