Mojira Archive
MC-121865

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

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