Minecraft Crashes when I Spawn my Custom Mob

Published by Axthermal on
Status
Works as designed
Issue description

I created a mod where it adds a new dimension, some new items, and a mob. Every time I try to spawn the mob, my game crashes instantly. It just freezes the screen, and I can't exit out unless I use task manager or alt + F4. I tried checking out another issue called Custom Mob Crashes Minecraft instantly when spawned, but that didn't have a solution. I am using MCreator version 2019.5, Minecraft version 1.12.2.

Issue comments

You are most likely doing something like using procedure on mob hurt and spawning a thing that hurts mob again which in turn triggers this procedure again until it crashes. It might not be directly this, but something similar, this usually causes this problem.

In this case please export your workspace to shareable ZIP and attach it here so I can check it. Please tell me which mod element to check too.

Your custom OGG sounds you use with the mob are not valid OGG files and cause a crash when mob spawns and plays living sound.

You are welcome! I am glad I could help :) If you like what we do, consider donating to us to help us keep this project up.

Can you help me too?i did new particle for long ranged weapons but it crash when i shoot