Topic category: Plugins and third-party tools
I am trying to put the nerdy's geckolib plugin into the 1.20.1 generator for 2025.2 and am having issues.
When i select the Geckolib plugin in the workspace settings and try to regenerate, i get an error:
Executing Gradle task: build
Build info: MCreator 2025.2.28610, forge-1.20.1, 64-bit, 16201 MB, Windows 10, JVM 21.0.7, JAVA_HOME: D:\appfiles\mcreator\MCreator.2025.2.Windows.64bit\MCreator20252\jdk, started on: 2025-09-06-09:33:34
Loaded APIs: geckolib
Calculating task graph as no cached configuration is available for tasks: build
FAILURE: Build failed with an exception.
* Where:
Script 'C:\Users\Jacks\MCreatorWorkspaces\jaks_inventions\mcreator.gradle' line: 8
* What went wrong:
A problem occurred evaluating script.
> Could not get unknown property 'fg' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 965ms
Configuration cache entry stored.
BUILD FAILED
Task completed in 1 second
any ideas on how to fix this? i understand not much about making plugins, but i do generally understand js and some ts. any help?
Lucky you! You seem to be way ahead of me. I'm trying to create a fork of the Nerdy Geckolib plugin too :)
From the error I see, the dependencies of something have probably changed...
it seems like for me that its missing things in modern versions
i just took all of the files from the geckolib one and put it in the generator
Is this what your 1.20.1 section of the api file looks like?
You might be able to delete the mixin part but idk.
i have one for mcreator link and one for geckolib
i updated it am testing now
nothing changed it broke in the same way
would stuff for other game versions effect the output?
No, the way mcreator reads is when a workspace folder is open, the version folder corresponding to the workspace version is the only one read when workspace is open. What is your api file for it? And what is the line 8 of mcreator.gradle that is messing it up?
geckolib.yaml: https://traff.co/0s76b61j
line 8 of mcreator.gradle looks like this:
implementation fg.deobf('software.bernie.geckolib:geckolib-forge-1.20.1:4.4.2')
another issue is that none of the actual element types are able to be made with geckolib, rendering the plugin useless even if it was enabled, although the procedure page has the geckolib procedures.