need help with procedure loops

Started by JamminNun on

Topic category: Mod design feedback

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
need help with procedure loops

Long story short, I'm trying to make that when you hold a sertain item in off-hand, you will regen 1 hp every 3 seconds. BUT, I'm runing into proplems with making it actually loop. Could someone help with fixing my procedure?

 

This procedure is put into that sertain items InInventoryTick trigger.

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this may not be a solution…
Sun, 11/28/2021 - 10:16

this may not be a solution to the problem but you should use the wait procedure block for an actual delay.
1 tick = 1/20 second

20 ticks = 1 second

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But how would it loop then?…
Fri, 12/03/2021 - 15:43

But how would it loop then? I'm trying to loop it, not just do it once

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ever gained a solution to…
Sun, 03/20/2022 - 06:54

Ever gained a solution to this? Been having trouble myself and had trouble finding answered on the internet.

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Comment me if you still need…
Mon, 07/04/2022 - 08:58

Comment me if you still need the tutorial I found it

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you tell me how you…
Sun, 08/14/2022 - 12:54

Could you tell me how you did it? :)