Started by
WCIV8
on
Topic category: Help with Minecraft modding (Java Edition)
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
Do you use nerdy's geckolib by any chance??
yes, I'm using nerdy's geckolib, is that the issue?
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.
https://mcreator.net/forum/93274/tutorial-how-use-nerdys-geckolib-plugin-40-20224
Also that one, more proper for 2022.4
Thank you so much, I will look into it when I get home.
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"
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
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
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
In 2022.3 version there was a procedure for applying entity model which was replaced on 2022.4 with animated entity element
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.