Crash Entity attacked Procedure

Started by Bananas on

Topic category: Help with modding (Java Edition)

Last seen on 12:14, 12. Apr 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Crash Entity attacked Procedure

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 02:37, 14. Apr 2022
Joined Sep 2021
Points:

User statistics:

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

The image expired