Gradle Geckolib API Error (Unsolved)

Started by whatdahdogdoing on

Topic category: Troubleshooting, bugs, and solutions

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle Geckolib API Error (Unsolved)
Tue, 07/12/2022 - 07:04 (edited)

Please respond ONLY if you have any leads, are experiencing this problem as well, or have a theoretical or working solution. Thanks!

 

I've noticed that this error is relatively new, and only a few people have covered it. No topic has been answered. I decided to make my own topic to spread the word, and also because I am having this idea as well, and have no idea how to code.

 

First of all, I have followed this tutorial: https://mcreator.net/forum/66357/feders-geckolib-plugin-tutorial
Secondly, I am 99% I have the correct versions of mcreator and the geckolib plugin for this to work. I am modding in 1.15.2 and using MCreator 2020.5.

Everything works up until the Geckolib API section. I cannot refactor the workspace, even if i dont have anything in the workspace. Basically what happens, is I click on the Geckolib API, and check! I click save and I am prompted to refactor the workspace. I click refactor, and it takes from 5-15 seconds to tell me that it cannot load Gradle. I have looked through the issues in the common gradle errors but none seem to apply to my situation.

 

Here is the pastebin link to the error message: https://pastebin.com/dwWbZjG6

 

Somebody please help, this is quite urgent. I don't want to waste my time on a model I wont even use.
I will update this post if it is resolved (also will write solution), if some method I tried didn't work, or if something else important comes up.

Edited by whatdahdogdoing on Tue, 07/12/2022 - 07:04
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi friend, From what I see…
Tue, 07/12/2022 - 04:18

Hi friend,

From what I see when I look into the file you downloaded from the tutorial (The geckolib plugin for Mcreator)... It uses outdated information maybe? 

(https://ibb.co/WHSTxXK) Here is what is in the file...

But if you see the Wiki for the plugin, which wasn't specifically made for Mcreator (https://github.com/bernie-g/geckolib/wiki/Installation)

You could try to add the listed information into the file (https://ibb.co/KDjrj2H).

Not sure if this would work but its a start.

 

Here is an example that I'm trying to use, for 1.16.5 (https://ibb.co/6XWvm74).

I have yet to get the plugin working myself... but this is what I'm doing at the moment.

Best,

-cl

 

 

 

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update - I used this plugin …
Tue, 07/12/2022 - 06:00

Update - I used this plugin (https://mcreator.net/plugin/72722/moreapis)

I opened the zip -> api -> geckolib, and changed the values to what was most up-to-date. (By going to the wiki link for geckolib and replacing the repositories/mavin and dependencies). Worked for Forge 1.16.5

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey um not sure if you…
Tue, 07/12/2022 - 06:04

hey um not sure if you notice but i have like 2 brain cells, could you explain more specifically (or less specifically idk lol)

thanks

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
actually hold on i think i…
Tue, 07/12/2022 - 06:09

actually hold on i think i got it

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
okay im hoping you come back…
Tue, 07/12/2022 - 06:39

okay im hoping you come back to this but i definitely dont got it. The API isn't showing up. I'm going to try to do this on different version of mcreator.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, The API was just in the…
Tue, 07/12/2022 - 18:33

Hey,

The API was just in the zip folder, that I downloaded... from the  link (https://mcreator.net/plugin/72722/moreapis)

all I did was go into the zip, open the API folder, and then go into the Geckolib file... (I opened the geckolib file with notepad++) and then I changed the values listed in the file. (The screenshots I posted are what I changed/did),

also... I, unfortunately, thought that the plugin was working for me but It turns out that when you try to load anything with animation in Mcreator I get the same error, But I'm in 2022.1, so this whole idea may work if you are on something like 2020.5

Hope this helps, 

If you are still unsure feel free to ask

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Once you change the values…
Tue, 07/12/2022 - 18:49

Once you change the values in the zip, then you just load the plugin normally in mcreator

If this doesn't work, you can always try following the original tutorial you talked about (https://mcreator.net/forum/66357/feders-geckolib-plugin-tutorial)

And download the files listed there, try changing the values listed in those files to make sure they are up to date. It's important that you check to see what versions the plugins are for as well... I have found about 4 different plugins claiming to be geckolib files for different versions of mcreator. So when you follow that original tutorial, have the same edition they use.

(Remember that the new up to date information that you are placing into the old files can be found on the heckolib wiki)

https://github.com/bernie-g/geckolib/wiki/Installation

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I meant like when I open…
Wed, 07/13/2022 - 08:51

I meant like when I open MCreator and go to the workspace settings and external api's, Geckolib wouldn't show up. I was using 2020.5 and tried out 2021.2 cause I heard that worked but it doesn't. I also need to try out 1.15.2 modding and see if that is the issue.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I had that problem as well,…
Wed, 07/13/2022 - 18:44

I had that problem as well, it wouldn't show up in the external api place but, if you created a new procedure it would sometimes show up as an avaible drag and drop.

I just tested out different plugins until I found one that worked, the one that showed up for me in the external api section was the one I posted about. (https://mcreator.net/plugin/72722/moreapis)

But it still didn't end up working for me once I tried to use it. Everything looked fine and compiled correctly after I enabled it. It started to spit out errors  once I added a Geckolib element to the project.

In all honesty I gave up trying to make things work with geckolib, but I never tried any version of mcreator other than 2022.1

 

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you are going to update…
Wed, 09/07/2022 - 17:15

if you are going to update this plugin you can add version 1.14.4 please.