Custom potion effect expires trigger not working (solved)

Started by Dabelyew on

Topic category: Help with MCreator software

Active 2 years ago
Joined Oct 2021
Points:
531

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
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
Active 1 year ago
Joined Oct 2020
Points:
1615

User statistics:

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

use Replace block at X Y - 1 Z

Active 2 years ago
Joined Oct 2021
Points:
531

User statistics:

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

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

Active 1 year ago
Joined Oct 2020
Points:
1615

User statistics:

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

Active 2 years ago
Joined Oct 2021
Points:
531

User statistics:

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