Nerdy's GeckoLib Plugin

Supported MCreator versions
2023.1
2023.2
2023.3
2023.4
2024.1
2024.2
Tags / plugin type
API support
Java plugin
Procedures
Templates
NewGeckoIcon
Downloads:
95730
Upvotes: 726
About the plugin

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

example

 

How to use?

2023.4+ tutorial for versions 5.2 or above

 

Changelog

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

v5.8.4
-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

v5.8.3
-Fixed inventory tabs in geckolib elements using the old combo boxes

v5.8.2
-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

v5.8.1
-Removed support for neoforge 1.20.4 as it prevented workspaces from opening

v5.8
-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

v4.7.2
-Fixed workspaces freezing when used on macs
-Fixed animated blocks lagging the game (now you need to be specify how many procedure animations they can use)

License
MIT License

Plugin downloads
Nerdy's Geckolib Plugin v4.7.2 (MCreator 2023.1 ONLY) - Nerdys_Geckolib_Plugin.zipUploaded on: 04/09/2023 - 14:07   File size: 392.32 KB
Nerdy's Geckolib Plugin v4.8.7 (MCreator 2023.2 ONLY) - Nerdys_Geckolib_Plugin_0.zipUploaded on: 06/10/2023 - 19:10   File size: 476.37 KB
Nerdy's Geckolib Plugin v4.9.2 (MCreator 2023.3 ONLY) - Nerdys_Geckolib_Plugin.zipUploaded on: 11/24/2023 - 05:46   File size: 493.62 KB
Nerdy's Geckolib Plugin v5.6.6 (MCreator 2023.4 ONLY) - Nerdys_Geckolib_Plugin_11.zipUploaded on: 04/25/2024 - 20:17   File size: 465.82 KB
Nerdy's Geckolib Plugin v5.7.1 (MCreator 2024.1 ONLY) - Nerdys_Geckolib_Plugin_12.zipUploaded on: 04/25/2024 - 20:18   File size: 510.49 KB
Nerdy's Geckolib Plugin v5.8.5 (MCreator 2024.2 ONLY) - Nerdys_Geckolib_Plugin_0.zipUploaded on: 08/31/2024 - 14:28   File size: 391.79 KB

Comments

For some reason with the version v4.8.8 when I use swimming and flying animations mcreator gives me an error

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.

Most buggy plugin on here. breaks almost everything. if you're thinking about making a mod with this, make sure you don't have any custom blocks, GUI blocks, blocks that use different bounding boxes, or anything that has multiple textures.

Does this plugin still work for 2023.3 with 1.19.2 generator plugin?

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.

Ok, please update this to 2023.3 please for better support! Do users of mods with your plug-in need Geckolib installed?

I updated my mod and plugin to the latest versions, 1.20 and 4.8.8. In the plugins setting, it shows that GeckoLib is still at 4.8.7 and I get an error when adding an attack animation on animated entities.