Issue compiling workspace with Geckolib addon 2024.3

Started by Jamesb013 on

Topic category: Troubleshooting, bugs, and solutions

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Issue compiling workspace with Geckolib addon 2024.3

Hello, 

I continually get this error when trying to compile my workspace. 

> Configure project : 
MixinGradle did not locate the diffplug APT plugin, skipping eclipse task configuration 
> Task :downloadMcpConfig 
> Task :extractSrg UP-TO-DATE 
> Task :createMcpToSrg UP-TO-DATE 
> Task :compileJava 
Note: SpongePowered MIXIN Annotation Processor Version=0.8.5 (MixinGradle Version=0.7.38) 
Note: Supported obfuscation types: ObfuscationServiceMCP supports [notch] ObfuscationServiceFG3 supports [searge] 
C:\Users\james\MCreatorWorkspaces\swtt\src\main\java\net\mcreator\swtt\client\renderer\WeequayRenderer.java:4: error: package software.bernie.geckolib.layer does not exist 
import software.bernie.geckolib.layer.ItemArmorGeoLayer; 
                                    ^ 
1 error 
> Task :compileJava FAILED 
FAILURE: Build failed with an exception. 
* What went wrong: 
Execution failed for task ':compileJava'. 
> Compilation failed; see the compiler error output for details. 
* Try: 
> Run with --info option to get more log output. 
> Run with --scan to get full insights. 
BUILD FAILED in 6s 
4 actionable tasks: 2 executed, 2 up-to-date 

BUILD FAILED 
Task completed in 2 minutes and 36 seconds 

I have (what I believe) everything in order but no matter what I do this will not compile correctly. Any help on this would be much appreciated. I've tried clearing my cache and gradle folders. Full restarts unchecking and rechecking the external API to reinitialize everything in case of missing files. But this is the result after everything. 

Please help if you have the knowledge as to whats happening here.