bug w lightning

Published by jibbers8 on Fri, 07/26/2019 - 03:41
Upvotes: 1
Issue description

I made a procedure so that whenever my custom mob is hurt, it spawns lightning. There's only 1 lightning block in the procedure yet when I bow my mob it spawns so much lightning my game nearly lags out. To test if it was a self sustaining cycle, I made my mob immune to all 8 things that it can be, including lightning and fire. The same thing still happens, I'm not sure what I'm doing wrong/if this is a glitch. I also tested a version where the lightning spawned at a place behind the mob where it wasn't getting hit, while my game was getting lagged out from the lightning bolts the mob wasn't red/being knocked back/having any signs of being hurt.


btw I'm 100% it isn't just a normal amount of lightning, i have a decently bulky computer and have def felt normal minecraft lightning

Issue comments

This is normal when lightning hits a mob, it is hurt and this triggers another on mob hurt trigger that spawns another lightning and you make an endless cycle of lightings.

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.