Custom potion effect expires trigger not working (solved)

Started by Dabelyew on

Topic category: Help with MCreator software

Last seen on 14:01, 27. Feb 2023
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
Last seen on 04:28, 26. Jan 2024
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

Last seen on 14:01, 27. Feb 2023
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

Last seen on 04:28, 26. Jan 2024
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

Last seen on 14:01, 27. Feb 2023
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.