-
Bug
-
Resolution: Fixed
-
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, 1.15.2, 1.16.2, 1.16.4, 20w48a, 20w51a, 21w03a, 21w05b, 21w06a, 21w16a, 1.17.1, 21w39a, 21w44a, 1.18.1, 1.18.2, 1.19, 1.19.2
-
Confirmed
-
UI
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
- Use the following command
/effect give @s speed 1639
→ The duration is displayed as "**:**"
- Reopen the world
→ The actual duration is displayed and is decreasing