My Mob Error

Started by KurlozM928 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 03:03, 25. Jun 2018
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My Mob Error

So, I've been trying to create a mob for my mod, through a custom model. I import my java file, (package: net.minecraft.src, class: ModelWoodimp) into the custom model importer. This model was made from tabula by the way; but moving on, I load in my model and the animation parts for my mob shows up. All 5 tabs are on "Don't animate" and whenever I try to edit one, it shows no other option than "Don't animate." I moved on anyway without the animation parts, and then tried exporting my mod. It shows that the Woodimp is an error, and I don't know how to solve it. I haven't edited any code, I just followed all steps for the mob. Please help!

Here is my error log from gradle:

C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_woodimp.java:166: error: class, interface, or enum expected
}
^
1 error

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.

 

Last seen on 01:15, 28. Feb 2024
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You probably fixed this…
Mon, 07/16/2018 - 15:09

You probably fixed this error since it was 2 months ago but follow this:

  1. Recreate the steps to get the error
  2. Go to console tab
  3. Click on the long green text 'C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_woodimp.java:166:'
  4. Press edit without locking
  5. Scroll to the bottom if you already haven't
  6. Remove the last curly bracket

This would remove the error and it worked for me, but it might reveal more errors which I'm stuck with now. Hope this helped whoever reading this :D

Last seen on 16:35, 15. Nov 2022
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hello pls help me i have…
Wed, 12/01/2021 - 16:25

hello pls help me i have error:

^
62 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec…
BU?LD FAILED in 11s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 22 seconds