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

Supported MCreator versions
2022.2
2022.3
2023.1
2023.2
2023.3
2023.4
2024.1
Tags / plugin type
API support
Global triggers
Procedures
player animator
Downloads:
7939
Upvotes: 125
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 - 2024.1.15821 support - playerAnimator_0.zipUploaded on: 04/13/2024 - 04:26   File size: 12.37 KB

Comments

What if i want to stop loop animation? For example... I made to play animation when holding some item, but when I no longer hold the given item, the animation still runs. How do I fix this? Thank you in advance for your reply.

Hi, just one thing, how to activate the first person? Like, in which produce and in what part. thanks. :)

Submitted by Faruk Arda on Fri, 12/30/2022 - 04:43 Permalink

How did you export your animation as .json in blender?

Submitted by Faruk Arda on Thu, 12/29/2022 - 04:12 Permalink

And, are you planning on continuing this plugin? Just asking, because I normally was planning to use this plugin to make fighting animations like the better combat mod.

Is scaling not work ?
It worked in block bench but when in game it doesn't change any sizes to the player

Sorry, how do i download the File?
i added Geckolib in MCreator and Blockbench

You can use geckolib animations for the player, you don’t need the geckolib plugin in mcreator for it. However you do need the geckolib plugin for blockbench to create these animations.

Download the template model linked on this page and animate using that in blockbench