Crash Entity attacked Procedure

Started by Bananas on Mon, 01/25/2021 - 09:58

Topic category: Help with modding (Java Edition)

Last seen on 16:05, 23. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Crash Entity attacked Procedure
Mon, 01/25/2021 - 09:58

Hi everybody.

I've got a problem. I've made a procedure with entity attacked trigger. It checks if entity wears specific armor and if it does, it should add one of five potions to it. I've maked it with random and maked:

If random is smaller or aquels 0,2, apply strenght to event/target entity.

If random is higher than 0,2 and is lower or aqueals 0,4, apply resistance to event/target entity.

etc.

But then I wanted to test it in-game and threw a snowball on my head. The game closed and MCreator completely buffered. It's happening now and I can't even close it. Is it because I attacked myself? Or can I somehow fix the procedure? Thank you very much.

Last seen on 16:05, 23. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I add screenshot. https:/…
Tue, 01/26/2021 - 07:17

I add screenshot.

https://imageupload.io/7YpqBC6OeY.i

 

Is it just too much logic? And can I somehow fix it?

Last seen on 02:37, 14. Apr 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The image expired
Thu, 02/17/2022 - 18:13

The image expired