Custom potion effect expires trigger not working (solved)

Started by Dabelyew on

Topic category: Help with MCreator software

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom potion effect expires trigger not working (solved)
Sun, 02/06/2022 - 14:03 (edited)

Hi! I wanted to make a potion effect that killed the player when the effect expired and also replace the block where was standing before death.

killing the player was easy, but when I added the "replace block at x y z.." the whole procedure stopped working. I didn't know what was wrong, so I changed the replace block trigger with a play sound trigger, but that also nullified the whole procedure. Simplifying it just to play the sound or replace block with no death also didn't work, does anyone know what's wrong? Thanks in advance.

I'm adding a cap of the most simplified version of the procedure (which does nothing when triggered)

https://situla.bitbit.net/filebin/631bf4d831bf698d2764e65ffffbda9af6b67…

Edited by Dabelyew on Sun, 02/06/2022 - 14:03
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use Replace block at X Y - 1…
Fri, 10/08/2021 - 17:06

use Replace block at X Y - 1 Z

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That's what I did, but it…
Fri, 10/08/2021 - 20:58

That's what I did, but it just does nothing

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
could you give us a photo…
Fri, 10/08/2021 - 21:19

could you give us a photo that actually we can actually see? go to imgur.com and put it there

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry for the delay and…
Sun, 02/06/2022 - 14:04

Sorry for the delay and thanks for the help, I found out that the procedure wasn't working because I was setting the entity life to 0 instead of dealing a killing damage, so it didn't count as a death.