How to pause precedure

Started by Pikman1210 on

Topic category: Help with modding (Java Edition)

Last seen on 18:29, 30. Sep 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to pause precedure

How can I make a precedure pause about 5 seconds? I'm trying to make a player get poisoned when they stand on a block, but currently it constantly poisons them so they dont take any damage.

Last seen on 14:40, 25. Jan 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's not needed to pause theā€¦
Tue, 09/07/2021 - 22:14

It's not needed to pause the procedure.
You just need to check if the player has the poison effect like this (put it on When Entity Walks On The Block trigger):

(Image)

(Procedure)

 It does somewhat what you needed, adding a poison effect for 5 seconds and allows it do damage to the player.