GeckoLib support for MCreator is back! Now more powerful than ever, GeckoLib allows you to animate your entity, block, armor and item models using smooth keyframe animations made with blockbench. This plugin implements an easy to use method of applying those animations and models in only a few simple steps!
The java plugins feature needs to be enabled as this is a java plugin
-This plugin is not maintained or supported by the the creators of GeckoLib.
-If you need help using the plugin or to resolve an issue, the best place to ask is the
MCreative discord.
Example
How to use?
2023.4+ tutorial for versions 5.2 or above
Changelog
v5.9.3
-Fixed animated blocks not working in the latest 2024.3 patch
v5.9.2
-Fixed the plugin breaking global trigger names when saved
v5.9.1
-Fixed animated entities being unable to save
-Fixed animated items in 1.20.1 causing build errors
v5.9
-Ported to MCreator 2024.3 and neoforge 1.21.1
-Added the option to play the idle animation of a block to its item
-Added the option to adjust the delay between entity attack animations
-Improved the UI of the animated entity animations page
-Removed the item animation perspective option due to bad implementation
-Removed animated armor tick triggers as they are redundant
-Fixed animated block materials doing nothing
-Fixed animated block sounds being incorrect for some options
-Fixed the raider option for animated entities not working
-Fixed animated armor items' json model option not working
-Fixed animated armor procedure blocks causing build errors
v5.8.5
-Updated chinese translations and added chinese help tips
-Fixed vanilla textures not loading with the plugin loaded
-Fixed the sprint animation not playing while the entity moves
-Fixed some missing dependencies in animated entity procedure selectors
-Fixed animated blocks causing server crashes on load in 1.20.6
-Fixed a build error when tree decorators were used for biomes
-Fixed inventory tabs in geckolib elements using the old combo boxes
-All animated elements can now switch animations while another is playing
-Fixed animated armor animations not stopping
-Fixed tools with the shield type causing build errors
-Fixed animated entities with the creature spawn option causing build errors
-Removed support for neoforge 1.20.4 as it prevented workspaces from opening
-Support for MCreator 2024.2
-Support for neoforge 1.20.6
-Removed support for all mc versions below 1.20.1
-Animated entities can now switch animations while another is playing
v5.7.1
-Reverted head animation changes due to issues
-Updated to work with 2024.1.17319 (2024.1 path update 2) ONLY, reinstall MCreator
-Fixed animated entity head rotation being weird
v5.6.6
-Revert the head animation changes for now due to issues (2023.4)
-Fixed animated entity head rotation being weird (2023.4)
-Fixed animated items causing a build error in 1.19.4
-Fixed animated items causing build errors if more than 1 existed
-Fixed animated items not generating code (2023.4)
-Fixed animated blocks without blockstates causing build errors
-Added blockstates to animated blocks
-Added the option to disable the swing animation of animated items
-Fix import formatter not working in some cases
-Support for neoforge 1.20.4
-Added the step height parameter to animated entities
-Removed particle parameters from animated blocks
-Cleaned up some messy code
-Updated the behaviour page of animated entities
-Fixed mineable tags not generating when fluids existed in the workspace
-Fixed mineable tags not generating when plant elements existed
-Fixed itemstates still not working below version 1.20.1
-Fixed itemstates causing build errors below version 1.20.1
-Fixed the shield blocking property not registering in 1.20.1
-Fixed animated items not saving
-Updated geckolib API versions
-Animated items can now have custom player model arm poses
-Fixed imported animation names not automatically renaming properly
-Fixed animated entity models' head movement calculations
-Fixed animated items bobbing when using animation procedures
-Fixed animated block stop animation procedure blocks not working
-Fixed animated item stop animation procedure blocks not working
-Fixed plant elements causing build errors in 1.19.2
-Updated the chinese translations
-Fixed looping animations not being stoppable
-Fixed hold on last frame animations not being stoppable
-Cleaned up outdated animation controller code
-Removed the conditional animation option as it is obsolete
-Removed the loop condition as it is obsolete
-Fixed procedure start blocks duplicating when creating the procedure
-Fixed entity data procedures not working with animated entities
-Added the entity data page to animated entities
-Animated entity textures are now saved automatically when changed
-Animation files are now automatically renamed to the name of the model when imported
-Fixed the geckolib models and display settings tab not properly refreshing
-Fixed animation files not being deleted when deleting the model file
-Added back 1.19.2 support for now
-Added a built-in update notification dialog
-Fixed custom sounds causing crashes
-Fixed some build errors with animated blocks
-Fixed some missing translation keys
-Ranged entities are now compatible with the projectile element
-Updated the geckolib version
v4.9.2
-Fixed itemstates being broken in 1.19.4
-Fixed head animation groups not working unless named "head"
-Fixed the mineable tag fix not being in versions below 1.20.1
-Fixed animated blocks breaking mineable tags
-Fixed a 1.20.1 build error with ridable entities
-Fixed some 1.20.1 issues
-MCreator 2023.3 support
-Forge 1.20.1 support
-Fixed the ranged item model issue caused by the geckolib mod
v4.8.7
-Fixed villager professions causing a build error
-Fixed animated block elements not opening (again)
-Fixed entity visual scale not working in forge 1.19.4
-Fixed the plugin causing biomes to not compile in forge 1.19.4
-Support for the latest MCreator snapshot
-Added Chinese translations
-Fixed creative tabs causing build errors
-Fixed blocks not compiling on 1.19.4
-Fixed the animated block element not opening
-Added support for forge 1.19.4
-Fixed animated armor not being available in the item selector
-Fixed the game not being able to launch when animated blocks had 0 procedure animations
-Dropped support for 2023.1 due to incompatibilities in the code
-Blockbench loop types (play once, loop, hold onto last frame) now work in-game for forge 1.19.4
Archived versions
2023.1-4.7.2 https://www.mediafire.com/file/2ihik12osqqp6an/Nerdys_Geckolib_Plugin_2023.1.zip/file
Comments
Asking For help:
When I Was using 2023.2 with the geckolib Plugins(With Java Plugins on).
The Plugin Show Fully Loaded yes before I Launch the Game, after that, It turns to Fully Loaded No.
and this cause my animated Armor Getting a Weird problem, like Wrong animation and wrong position.
how should I fixed This?
I might have a possible fix.
This was my issue: Plugin shows as fully loaded when launching, but not after you do something like saving a mod element etc. It goes back "loaded: no" and I coudn't launch the test environemnt. It would quit after loading forge.
1) if you manually swap between MCreator versions regularly and move the files, check if the plugins folder that MCreator refers to is actually the folder you dropped the plugins in. This might be a fringe case but it could be an issue.
2) - and that did it for me - make sure you don't drop the display settings-file into the "geo" folder of your workspace. Import that one via the resources tab in your workspace. This let me launch the game/test environemnt again without issues.
I still get bugged textures on my animated items though... I have no idea why
I might have a possible fix.
This was my issue: Plugin shows as fully loaded when launching, but not after you do something like saving a mod element etc. It goes back "loaded: no" and I coudn't launch the test environemnt. It would quit after loading forge.
1) if you manually swap between MCreator versions regularly and move the files, check if the plugins folder that MCreator refers to is actually the folder you dropped the plugins in. This might be a fringe case but it could be an issue.
2) - and that did it for me - make sure you don't drop the display settings-file into the "geo" folder of your workspace. Import that one via the resources tab in your workspace. This let me launch the game/test environemnt again without issues.
I still get bugged textures on my animated items though... I have no idea why
Hi, I've been using the latest plugin for EAP 2023.3.34614 and encountered a weird issue.
Basic setup is flawless but upon saving an animated entity mod element with "can be controlled" and "forward movement control" enabled, I get a build error that claims 'MaxUpstep' "... has private access ..." (which I guess means that the value for it is not defined in the class itself). I can run the code if I delete the lines related to 'MaxUpstep' but I need the feature for my entity and generic entity mod elemnts do not generate this error.
Could anyone reproduce this?
If you want to make rideable entitties with this plugin version, you'll have to lock the code and remove the lines containing "MaxUpstep" from the movement crontroller section. Then look at other regular rideable entities and howthey hadnle UpStep. In you entity code, paste " setMaxUpStep(0.5f); " around the top of the code, just above where it defines "xpReward" and "setNoAi(false);"
For those who say that the api does not work, the animations are making a mistake, I solve them, I had the same problem in the last version, which is 4.8.8 in Mc 2023-3.34614 and the solution was the name code or the naming of the animations, I explain to myself in Blockbenck when they create the "idle" animation it must be with this name "animation.(model name).idle" and already saved that way when using it in the mcreator with the Gekolip api use the same name that I mentioned before "animation.(model name).idle" and that's it, they should work perfectly.
Hi, I'm having issues with the plugin.
error: level has private access in Entity this.lastSwing = level.getGameTime(); and error: level has private access in Entity if (this.swinging && this.lastSwing + 7L <= level.getGameTime()) {
I've used this plugin a lot but after updating mcreator the the latest supported version of the newest geckolib version it started giving these errors. Remaking the mod element gave the same results.