Player effect not working

Started by MrCrayfisho on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 weeks ago
Joined Aug 2024
Points:
64

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
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?

Active 3 weeks ago
Joined Aug 2024
Points:
64

User statistics:

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

I wanted to make like a "blinking" potion.

Active 6 hours ago
Joined Apr 2024
Points:
357

User statistics:

  • Modifications: 7
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 443
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

Active 6 hours ago
Joined Apr 2024
Points:
357

User statistics:

  • Modifications: 7
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 443
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

Active 3 weeks ago
Joined Aug 2024
Points:
64

User statistics:

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

It works. Thank you.

Active 6 hours ago
Joined Apr 2024
Points:
357

User statistics:

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

You're welcome