Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-164767

Regeneration doesn't work if given every second

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.14.4
    • None
    • Unconfirmed
    • (Unassigned)

      When the command

      /effect give @s minecraft:regeneration 4 0 true
      

      is executed on the player every 20 ticks, health never increases.

      I believe this is due to the regeneration timer cycle and level. Since the effect is being applied every second and the time it takes to heal a half heart is 2.5 seconds, the effect never lasts long enough even though the effect is never removed, only refreshed. With regeneration 2 however with a 1.25 second half heart regeneration time, a heart is regenerated every second because of the timing between giving the player the effect instead of 1.25 seconds with a long duration effect command.

            Unassigned Unassigned
            jirauser54679 user-2a4c8 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: