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

Regeneration doesn't work if given every second

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • 1.14.4
    • None
    • None
    • Unconfirmed
    • (Unassigned)

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              minecraftmanUSA RandomGgames
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: