I created an entity using GeckoLib plugin but it says "Your workspace contains mod elements that don't compile properly"

Started by BehramISHI on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I created an entity using GeckoLib plugin but it says "Your workspace contains mod elements that don't compile properly"
Fri, 05/19/2023 - 21:25 (edited)

i left the console command down below i do not know anything about coding i searched the topic but couldn't find the same problem 

 

> Task :compileJava
C:\Users\OEM\MCreatorWorkspaces\unity_mod\src\main\java\net\mcreator\unitymod\entity\AlfidiumGolemEntity.java:64: error: cannot find symbol private AnimationFactory factory = GeckoLibUtil.createFactory(this);
^
 

 

symbol: method createFactory(AlfidiumGolemEntity)
location: class GeckoLibUtil
 

C:\Users\OEM\MCreatorWorkspaces\unity_mod\src\main\java\net\mcreator\unitymod\entity\AlfidiumGolemEntity.java:212: error: incompatible types: EDefaultLoopTypes cannot be converted to Boolean event.getController().setAnimation(new AnimationBuilder().addAnimation("animation.gollem.walking", EDefaultLoopTypes.LOOP));

and 6 other like this i looked at the publishing guidelines but i didn't get the logs and errors one i hope i got it right because english isn't my native language
 

Edited by BehramISHI on Fri, 05/19/2023 - 21:25
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Different solutions: 1 --…
Sat, 05/20/2023 - 17:26

Different solutions:

1 -- Use Nerdy's GeckoLib

2 -- Go to the Workspace Settings and click external APIs and enable Geckolib

3 -- Make sure you used the plugin in blockbench

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i am using it already and…
Mon, 05/22/2023 - 22:02

i am using it already and enabled it

If disabling and enabling…
Tue, 05/23/2023 - 01:20

If disabling and enabling the API doesn't fix it, that means another plugin is conflicting with the versions due to naming their API the same. Remove and plugins you have that add APIs and try reenabling geckolib again.

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks i did it
Wed, 05/24/2023 - 18:03

thanks i did it

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The model element…
Sun, 09/17/2023 - 09:06

The model element compileJava is having an error

Is their an easy way to fix it?