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

they said that is a player animator issue, sorry here is the issue, i also did with no procedures, nothing, just setup animations and without anything too just when i turn on player animator it crashes https://pastebin.com/2SutjVka

For some reason, whenever the player_animation folder is present within my mod's folder, I get stuck on the Mojang Studios Logo on the loading screen, I can even hear clicking sounds when I click where the buttons would be but I can't get any further. I don't recall there even being a Mojang Studios loading screen when normally loading in with Neoforge.

Hello, so I have a problem, the animation I made works but after the condition is done, for example I have a global variable charging and even when not true it still does the animation for charging. Any ideas how to fix?

I'm new so my question could be stupid, but it says that the external trigger ("setup player animations" one) doesn't provide the dependency "world," so I have no idea why it isn't working

So I figured it out, but now I have another question. This plugin installs the player animator for me. I figured that out when I installed the player animator mod, causing the game to crash because it had two player animators. Now what I want to know is why it also crashes when I install bendy-lib? Bendy-lib is like player animator but with elbows and knees and such. I'm guessing bendy-lib also has player animator in it (they're made by the same person) which causes the game to crash when it finds two player animator mods. Here's the link to bendy https://www.curseforge.com/minecraft/mc-mods/bendy-lib

It dosn't work for me for some reason, "Your workspace contains mod elements that don't compile properly". And it comes from the SetupAnimations procedure, how do i fix it.

are you going to update this plugin (not saying you to hurry it) because I would LOVE to use this in my upcoming projects

Does this work properly with items in hand? I mean, I wanna use this to make custom attack animations, i assume that's possible right?

Animations don't seem to work when i add if statements prior to the animation
example:
if event entity has completed advancement (blank) do:
(insert animation)
Not sure if it's a bug or if im doing something wrong, but what i essentially wish to do is to make conditions for certain animations if possible.

when i transfer the mod to a java file, it says theres an error and tells me the mod hasnt loaded correctly
"dev/kosmx/playerAnim/api/layered/IAnimation. please help

Btw uhh why dose this plugin not work at all for me do I need to use a specific single animation at a time thing or dose this need a update? (You don't need to answer all my questions at once)

I opened the model in BB but it says it does not work and needs a plugin, what BB plugin is needed for the animation thanks.