Adding elements causes "Gradle reobfJar task failed!"

Started by blumpy on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding elements causes "Gradle reobfJar task failed!"

Ooookay, I'm getting a little frustrated. Whenever I make a new entity / element, as soon as I run the client or regenerate code, it causes the error "Gradle reobfJar task failed!". It said that my files contained non-Ascii characters yet I haven't added ANY of them. I tried regenerating the code again but it shows the error.

I tried restarting my computer, and it did indeed solve the problem but like I said at the start, it would compile and throw this annoying error at me.

 

 

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, I used the second…
Sat, 12/21/2024 - 17:09

Yes, I used the second solution but it didn't really... work? I couldn't find the ".mcreator" folder in my home folder. I'm on MACOSX, is the folder named something else? I used the clear caches option under "Build & Run".

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind, I found the …
Sat, 12/21/2024 - 17:30

Nevermind, I found the .mcreator folder. i did all the steps correctly and did a test run with Run Client. However, it still gave me this error and I'm unsure what to do...

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NEEEEVER MINNNDD!!! It's…
Sat, 12/21/2024 - 22:28

NEEEEVER MINNNDD!!! It's Nerdy's Geckolib plugin that's causing the problem. I have checked and saw that when I created a new workspace and applied geckolib in the API, it causes ALL sorts of problems.