Regeneration Armor Tick Problems

Started by RangerRed2002 on

Topic category: Help with modding (Java Edition)

Last seen on 00:49, 25. Jun 2021
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Regeneration Armor Tick Problems

Helllo. I'm trying to make a mod that has armor that regenerates the player, but when I try to make it an armor tick procedure it just resets every tick and never heals you. When I try to do it on player tick update, than it heals you way too fast. I know it has to do with Regeneration healing a certain amount each tick, but is there anyway to solve this? Any help would be very much appreciated.

Last seen on 03:19, 17. Feb 2024
Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try going for 20 ticks, as…
Sun, 01/12/2020 - 22:49

Try going for 20 ticks, as 20 ticks are equal to one real second :)

Last seen on 00:49, 25. Jun 2021
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That doesn't work, as it…
Mon, 01/13/2020 - 00:36

That doesn't work, as it resets each tick. But thanks for the suggestion.

That said, I've found a way around it, so it isn't that bad.

Last seen on 03:27, 2. Nov 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
please tell me what it is
Thu, 05/27/2021 - 21:38

please tell me what it is