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
2024.4
Tags / plugin type
API support
Global triggers
Procedures
player animator
Downloads:
18467
Upvotes: 179
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.1 (2024.3, 2024.4 ONLY) - (1.20.1 forge, 1.21.1 neoforge) server synced (server crash fixed) - playerAnimator.zip Uploaded on: 01/16/2025 - 11:47   File size: 8.98 KB

Comments

Do you need to create the player_animation folder yourself? It hasn't installed it automatically for me but it crashes every time I make the folder for myself and attempt to use an animation in testing.

how do I work this I imported it in 2025.1 version but it said the version was incompatible

Which animation type should I use: [Loop, Once, or Keep Last Frame]?
Also, will it work if the animation name contains an underscore (_) or a period (.)?

I have a problem... this new version of the Plugin is not synchronizing with the server, in addition, it has an INDEX error when I go online... I know that this error is caused by the plugin because when I remove it, the error disappears (v2.1)

What should I do?

Hi guys i need report one bug everytime i try put my animation show the same bug i follow the instructions here and nothing change someone know what i need to do i work in 2023.4

Hello, I would like to thank you for the plugin. I just have one little quiestion: Can you PLZZZZ publish this plugin on curseforge or modrinth plzz. I need it because if I want to play my mod (wich uses this plugin) with my friends I need to have the plugin available on curseforge or modrinth. I would appreciate it a LOT if you publish it there.

i have a error
Task :compileJava FAILED
C:\Users\......\MCreatorWorkspaces\anim_player\src\main\java\net\mcreator\animplayer\procedures\SetupAnimationsProcedure.java:31: error: cannot find symbol
private static IAnimation registerPlayerAnimations(net.minecraft.client.player.AbstractClientPlayer player) {
^
symbol: class IAnimation
location: class SetupAnimationsProcedure
C:\Users\......\MCreatorWorkspaces\anim_player\src\main\java\net\mcreator\animplayer\procedures\SetupAnimationsProcedure.java:28: error: package PlayerAnimationFactory does not exist
PlayerAnimationFactory.ANIMATION_DATA_FACTORY.registerFactory(new ResourceLocation("anim_player", "player_animation"), 1000, SetupAnimationsProcedure::registerPlayerAnimations);
^

Is it possible to use a plugin without adding a dependency? That is, for example, I use a procedure and make it a condition that it will only work if the mod is installed, and there will be no dependency and animations will be played only for those who have installed the mod

Hello everyone !
I was testing animations when I discovered that some files cannot be loaded and get ignored, causing the game to crash if you try to play them.
I searched for a looong time and found that : animation names are CASE SENSITIVE ! (lowercase only)
Exemple : waving.json : loads / somePose.json : ignored
Hope this'll help :)

Hey, I fixed some issues with the code in the SetupAnimations class.
Allows for looping animations, and sending blank animation strings to end them AND no crashing when a blank string is sent.

My discord is noiilive

getting a ton of build errors trying to use setup animations procedure

the animations don't work. I don't even have a build error. I'm on 2024.2 for 1.20.1 forge.