GeckoLib Mod Error

Started by ChicoHaze on

Topic category: Help with modding (Java Edition)

Last seen on 03:29, 13. May 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
GeckoLib Mod Error

I'm trying to help my son learn about modding and we've run into an error I don't understand. We have created a few simple mods with MCreator (Forge 1.19.2). We made a new block and a new recipe. These worked fine.

Next we tried to make a new mob using Blockbench and GeckoLib. We have the GeckoLib plugins installed for Blockbench and MCreator. We created the model and animations then exported them, following the tutorial. We imported these things to MCreator using the GeckoLib plugin and then added them to a new Animated Entity. Then we exported the mod and put it in our installation mod folder. 

The game starts but I get an error. It says the mod failed to load correctly:

Failure message: pepemob (pepemob) has failed to load correctly
java.lang.reflect.InvocationTargetException: null
Mod Version: 1.0.0
Mod Issue URL: NOT PROVIDED
Exception message: java.lang.ClassNotFoundException: software.bernie.geckolib3.core.IAnimatable
 

Searching the web turned up that I probably need to include GeckoLib in our build, but I'm not sure how to do that. Is there a way to do that just using MCreator?

 

Last seen on 03:29, 13. May 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured it out. I just had…
Sun, 04/30/2023 - 17:41

I figured it out. I just had to download the GeckoLib mod .jar folder and drag it into the mod folder along with our mod.