-
Bug
-
Resolution: Duplicate
-
None
-
1.20.6, 1.21 Pre-Release 4
-
None
-
OS - Windows 10.0 Home
Java version - 21.0.3
-
Unconfirmed
-
(Unassigned)
When runing /effect give <player> <effect> <duration>, the <duration> is either an amount of seconds or infinite, however when the effect is either instant damage, instant health or saturation, instead of the effect lasting said amount of seconds, it only lasts 1/20th of that amount (possibly because the game is applying the effect for <duration> ticks instead of <duration> seconds).
Steps to reproduce:
- Create a new world with commands enabled
- Run /effect give @s <effect> 1000 where <effect> is one of the 3 mentioned above.
- Open your inventory to check the effect's duration.
Expected behaviour:
- The effect given in step 2 should last 1000 seconds (or about 16 mins 40 seconds)
Observed behaviour:
- Instead, the effect is only lasting 50 seconds, yet if its any other effect, it lasts the intended 16 mins 40 seconds.
- duplicates
-
MC-19648 The "/effect" command sets time for instant effects to ticks and not to seconds
- Reopened