Explosion Crashes the Game

Status
Works as designed
Product/platform
Not applicable
Priority
Normal
Issue description

~{FIXED}~

It turns out that an infinite loop of explosions was caused, making Minecraft crash.

 

~{ORIGINAL TICKET}~

I have a mob that explodes at a power of 0.5 when attacked or killed. However, when I attack it, the game crashes, as does Mcreator. I actually have to open task manager and end its task. This is the error log from when I enter the world:

Sorry its long.

https://pastebin.com/V3xJBvq8

Issue comments

Could you please attach the mcr workspace file and give me instructions on how to make your mob explode? Thanks!

The issue is that you are calling an explosion on when mob is hurt trigger. The explosion hurts the mob and another explosion is made. This starts an endless loop that crashes Minecraft.



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.