Nerdy's Player Animator is a plugin that allows you to animate the player model with bedrock entity keyframe animations using blockbench
How to use
First, you will need to click here to download the official blockbench player model you will be animating. Now that you have the model, you will need to create animation for it in blockbench. If you do not know how to create and export blockbench model animations, watch a tutorial on how to do so.
Once you have your .json animations file, you will need to navigate to the resources section and find the new player animator tab. Here, you can import your animations files.
Once you have imported your files, you can use the play animation procedure block, in which all your animations are listed.
You can also stop any ongoing animations using the stop animation procedure block. This will work on any other animations being played by mods using this plugin.
Important information
-
Java plugins must be enabled for the procedure blocks and player animations resource tab to work
-
This plugin requires the forge mixins plugin to be installed
-
No external dependencies are included in your mod, this is all using code provided by the plugin
-
The plugin should only be loaded if you plan on using player animations, as otherwise it will generate all of its player animation related code for no reason and bloat your mod
-
When playing the animation, it will respect the loop type set in blockbench; a looping animation will loop and a hold on last frame animation will freeze on the last frame, so you will need to use the stop animation procedure block to end them
-
At the moment, only linear keyframes are supported in animations
Changelog
v1.1.1
-Fixed animations crashing in multiplayer with multiple players online
v1.1
-Added the check if animation is playing procedure block
-Added chinese translations (thanks to cdc1234)
-Changed the animation loader so animations for each mod use namespaces, you will need to save your procedures that play animations again or regenerate the code of the workspace to apply this change
v1.0.1
-Increased plugin weight to prevent other plugins overwriting its template generation
v1.0
-Plugin release
Legacy player animator versions archive:
1.8.1 for 2024.1
1.9 for 2024.1 and 2024.2
2.1 for 2024.3 and 2024.4
Comments
On dedicated server for version 1.20.1 this mod works only for client, no matter how i try to make the animations play they are seen only by the target entities(the players, of course). Maybe i'm doing the animation .jsons wrong, or i shouldn't make the animation procedure work by global variables, who knows? I hope developer will fix it or give any advice for the animation to work for everyone client included.
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);
^
Add GeckoLib easing support bro