[Fixed] Need Help, Game crashes when I spawn my new custom entity and I don't know why

Started by WCIV8 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Fixed] Need Help, Game crashes when I spawn my new custom entity and I don't know why
Sat, 01/14/2023 - 15:23 (edited)

I am making a grizzly bear mod for Minecraft but every time I use the spawn egg and spawn in the entity the game crashes. This is my first time making any mods or anything so I don't have very much experience. I don't know if this is the correct place to post asking for help but I'm hoping it is. Being new to this, I am not sure how to read a crash report and deduce the issue, if someone could help me figure out what to do to fix this issue it would be greatly appreciated. I made the model and animations in blockbench with the geckolib plugin and imported them into mcreator and I'm also using the geckolib plugin on mcreator. I'm using Mcreator version 2022.4

Edited by WCIV8 on Sat, 01/14/2023 - 15:23
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you use nerdy's geckolib…
Tue, 01/10/2023 - 02:22

Do you use nerdy's geckolib by any chance??

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes, I'm using nerdy's…
Tue, 01/10/2023 - 04:17

yes, I'm using nerdy's geckolib, is that the issue?

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
tutorial cheeeeeck : https:/…
Tue, 01/10/2023 - 09:31

tutorial cheeeeeck : https://mcreator.net/forum/91485/tutorial-how-use-nerdys-geckolib-plugin?page=9
If spawning your entity causes a crash, one of the below reasons is the cause:
-You used uppercase letters or spaces in the model name.
-You didn't create a GeckoLib model.
-You placed your files in the wrong location. Check that the geo and animations folders are in the assets/yourmod'sID folder.
-You didn't write the model name correctly in the procedure.
-You enabled the head animation, but there is no group in your model that is named "head"
-Your animation or model file name is incorrect. Check the valid names at the top of the tutorial.

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much, I will…
Tue, 01/10/2023 - 16:51

Thank you so much, I will look into it when I get home.

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I followed the tutorial but…
Tue, 01/10/2023 - 23:42

I followed the tutorial but when I try to save my "GrizzlyBearModel" procedure like the tutorial instructs it says "your workspace contains elements that didn't compile properly"

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok I got it to where the…
Tue, 01/10/2023 - 23:55

ok I got it to where the error doesn't show up but when I spawn the entity it looks like a player not my model. In the tutorial it said just leave the model part as biped. I have tried importing my java entity model but when I do that the model is there but the animations are not

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The reason it doesn't have…
Wed, 01/11/2023 - 00:02

The reason it doesn't have the correct model is because when following the tutorial here --> https://mcreator.net/forum/91485/tutorial-how-use-nerdys-geckolib-plugin?page=9  I dont see the register geckolib model or the setup model (geckolib). Does anyone know how to get these to show up

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check out the 2022.4…
Wed, 01/11/2023 - 19:29

Check out the 2022.4 tutorial (I sended link before). This is a bit different from 2022.3 one I sent earlier (by mistake actually). Also try to ask on tutorial for 2022.4 page maybe even Nerdy himself will help you

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In 2022.3 version there was…
Wed, 01/11/2023 - 19:31

In 2022.3 version there was a procedure for applying entity model which was replaced on 2022.4 with animated entity element

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also check up your workspace…
Wed, 01/11/2023 - 20:33

Also check up your workspace settings here

Find "External api's support" and turn on Geckolib if it turned off because "workspace contains element that do not compile properly" appears when api is off.