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.
MCreator issue tracker has been migrated to GitHub.
Existing tickets have been migrated to GitHub. Please open new tickets on the GitHub tracker instead. If you do not have a GitHub account, all feature requests and bug reports from MCreator forums are still considered and checked by the maintainers.
Minecraft Crashes when I Spawn my Custom Mob
Issue description
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.