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

High potion effect durations being displayed as **:** is misleading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.12.2, Minecraft 17w45b, Minecraft 18w03b, Minecraft 18w16a, Minecraft 1.13-pre3, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      When a potion effect has a duration equal to or higher than 1639, its duration is displayed as "**:**", see also MC-18836.

      This implies that the potion effect lasts forever, but this is not the case. However, because of MC-44936 the client will not notice when the duration becomes lower than 1639.

      Important: If this report is considered invalid, the field net.minecraft.potion.PotionEffect.isPotionDurationMax should be set to false by the method net.minecraft.potion.PotionEffect.deincrementDuration() if the value is below 1639.

      How to reproduce

      1. Use the following command
        /effect give @s speed 1639
        

        The duration is displayed as "**:**"

      2. Reopen the world
        The actual duration is displayed and is decreasing

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marcono1234 [Mod] Marcono1234
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: