problems with java custom models for living entities

Started by Nick16bit on

Topic category: Help with MCreator software

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
problems with java custom models for living entities

hello i'm having some trouble with my custom models. When i add a living enity with the models i created in blockbench the game crashes while loading and it says this 

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Users\.mcreator\gradle\jdks\eclipse_adoptium-17-amd64-windows\jdk-17.0.12+7\bin\java.exe'' finished with non-zero exit value -1
* 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.

this doesn't happen when i create a living entity with a Built In model. Can someone help me? I'm using MCreator 2024.2

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, are you using any…
Tue, 07/30/2024 - 17:02

Hey,

are you using any plugins like GeckoLib?

Did you take a look at this post:

https://mcreator.net/wiki/common-blockbench-issues-mcreator

Mostly it is just the naming convention which creates the errors. It starts with the file name and goes all the way to the individual groups in Blockbench. I would also avoid capital letters at the beginning. Spaces can also be tricky sometimes, but that depends (single Blockbench cubes can contain space if I'm not mistaking).

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ShadowzWalker, yes i have…
Thu, 08/01/2024 - 15:37

ShadowzWalker, yes i have Geckolib installed but the entity i was trying to create was a normal java entity i'll try to remove all the capital letters. Btw i'm sorry if i didn't respond earlier

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Nick16bit not a problem. If…
Fri, 08/02/2024 - 23:53

@Nick16bit

not a problem.

If changing the names still do not make it work, then it might be related to the bug Blockbench has right now (with new versions). There seem to be some reports that the model files can crash the game or create errors. Not always using the newest version seems to be the fix for that.

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@ShadowzWalker it still…
Mon, 08/05/2024 - 20:53

@ShadowzWalker it still doesn't work, tried making a Geckolib animated model and that did work so i don't know what to say

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Nick16bit ok. At least it…
Tue, 08/06/2024 - 11:31

@Nick16bit

ok. At least it works this way. It sounds dumb, but did you export it as a .json file? I'm also not 100% sure if the entity models work correctly as normal entities in MCreator when created with the GeckoLib plugin in Blockbench. Did you work inside the Modded Entity workspace / project type?