Minecraft Crashes when I Spawn my Custom Mob

Published by Axthermal on Tue, 01/14/2020 - 02:25
Upvotes: 3
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.

Attachment Size
My mod1.48 MB 1.48 MB

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.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.