Player effect not working

Started by MrCrayfisho on

Topic category: Help with modding (Java Edition)

Last seen on 12:11, 26. Aug 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Player effect not working

Hi! I want to make a "blinking effect" procedure in MCreator but it doesn't work (I made this):

 

Wait 100 ticks the on server side:

        Add potion darkness for 50 ticks

Wait 100 ticks the on server side:

        Add potion darkness for 50 ticks

Wait 100 ticks the on server side:

        Add potion darkness for 50 ticks

It "blinks" on time and the it doesn't "blink" anymore. I tried make a loop but it doesn't work too.

Can someone explain me why it doesn't work and how to fix it?

Last seen on 12:11, 26. Aug 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I wanted to make like a …
Thu, 08/08/2024 - 13:14

I wanted to make like a "blinking" potion.

Last seen on 17:32, 16. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok, put all that in an if…
Thu, 08/08/2024 - 13:16

ok, put all that in an if that checks if you have the blinking potion active

Last seen on 17:32, 16. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you just need to add the if,…
Thu, 08/08/2024 - 13:31

you just need to add the if, heres: https://imgur.com/jPJPAN5 

you don't have to set the procedure to any trigger

Last seen on 12:11, 26. Aug 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It works. Thank you.
Thu, 08/08/2024 - 13:32

It works. Thank you.

Last seen on 17:32, 16. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome
Thu, 08/08/2024 - 13:36

You're welcome