Task:compileJava failed when compiling GeckoLib Animated Entity...

Started by shad0wdev on

Topic category: Help with MCreator software

Last seen on 07:56, 4. Dec 2023
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Task:compileJava failed when compiling GeckoLib Animated Entity...

Hey there, I'm using Nerdy's GeckoLib Plugin to make a custom animated entity using Blockbench. For some reason this is what my console looked like after I tried to export the mod for distribution:

Executing Gradle task: build 
Build info: MCreator 2023.3.36712, forge-1.20.1, 64-bit, 8071 MB, Windows 10, JVM 17.0.7, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-10-18-19:13:25 
  
> Task :compileJava 
C:\Users\david\MCreatorWorkspaces\shardfulforge\src\main\java\net\mcreator\shardful\entity\BlockBirdEntity.java:272: error: cannot find symbol 
            (entityType, world, reason, pos, random) -> (world.getBlockState(pos.below()).getMaterial() == Material.GRASS && world.getRawBrightness(pos, 0) > 8)); 
                                                                                         ^ 
  symbol:   method getMaterial() 
  location: class BlockState 
C:\Users\david\MCreatorWorkspaces\shardfulforge\src\main\java\net\mcreator\shardful\entity\BlockBirdEntity.java:272: error: cannot find symbol 
            (entityType, world, reason, pos, random) -> (world.getBlockState(pos.below()).getMaterial() == Material.GRASS && world.getRawBrightness(pos, 0) > 8)); 
                                                                                                                   ^ 
  symbol:   variable GRASS 
  location: class Material 
C:\Users\david\MCreatorWorkspaces\shardfulforge\src\main\java\net\mcreator\shardful\entity\BlockBirdEntity.java:288: error: cannot find symbol 
         if ((event.isMoving() || !(event.getLimbSwingAmount() > -0.15F && event.getLimbSwingAmount() < 0.15F)) && this.isOnGround()) { 
                                                                                                                       ^ 
  symbol: method isOnGround() 
C:\Users\david\MCreatorWorkspaces\shardfulforge\src\main\java\net\mcreator\shardful\entity\BlockBirdEntity.java:294: error: cannot find symbol 
         if (!this.isOnGround()) { 
                  ^ 
  symbol: method isOnGround() 
4 errors 
> 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 --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 48s 
1 actionable task: 1 executed 
  
BUILD FAILED 
Task completed in 2 minutes and 10 seconds 
  

I have no idea what this means and I would greatly appreciate it if someone could quickly help me resolve this issue. Thank you in advance! :)

 

P.S: I'm using MCreator 2023.3. I have not updated since I was notified in the app about a new update.

Last seen on 07:56, 4. Dec 2023
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That doesn't seem to work…
Wed, 10/18/2023 - 22:22

That doesn't seem to work. Is there a way I can do it IN the editor? :)