I created a boss mob with a custom texture, model, and AI.
It works fine until some procedures start getting called (i.e. mob hurt, mob touching player)
After I set the on entity tick update procedure it closes Minecraft as soon as I place the mob down.
What went wrong and how could I fix this?