Geckolib Plugin Development Issues

Started by zyloyoutube on

Topic category: Plugins and third-party tools

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Geckolib Plugin Development Issues

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?

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Lucky you! You seem to be…
Sat, 09/06/2025 - 16:28

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

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it seems like for me that…
Sun, 09/07/2025 - 01:30

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

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is this what your 1.20.1…
Sun, 09/07/2025 - 07:00

Is this what your 1.20.1 section of the api file looks like?

forge-1.20.1:
  gradle: |
    repositories {
      maven {
          url = 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/'
      }
    }
    
    dependencies {
      implementation fg.deobf('software.bernie.geckolib:geckolib-forge-1.20.1:4.7.3')
    }
    
    minecraft {
      runs {
         client {
            property 'mixin.env.remapRefMap', 'true'
            property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
        }
          server {
            property 'mixin.env.remapRefMap', 'true'
            property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
        }
          data {
            property 'mixin.env.remapRefMap', 'true'
            property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
        }
      }
    }
  update_files:
    - ~
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You might be able to delete…
Sun, 09/07/2025 - 07:00

You might be able to delete the mixin part but idk.

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i have one for mcreator link…
Sun, 09/07/2025 - 17:09

i have one for mcreator link and one for geckolib

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i updated it am testing now  
Sun, 09/07/2025 - 17:11

i updated it am testing now

 

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nothing changed it broke in…
Sun, 09/07/2025 - 17:15

nothing changed it broke in the same way

would stuff for other game versions effect the output?

 

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, the way mcreator reads…
Sun, 09/07/2025 - 18:24

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?

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
geckolib.yaml: https://traff…
Sun, 09/07/2025 - 20:02

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')

 

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
another issue is that none…
Sun, 09/07/2025 - 20:18

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.