Mojira Archive
MCPE-172467

/effect doesn't have "infinite" time duration

When trying to set /effect command to last infinitely, there's no option to make it "infinite", despite that Java has that feature since 1.19.4. This would've been a great option for map makers, so the command doesn't have to repeat at every interval or putting a very large duration number on the status effect screen.

Step to Reproduce
1. Create a new world and enable cheats.
2. Set off the /effect command, for this example:
/effect @s regeneration infinite 0
3. See the chat box.

Expected Result
The effect can be applied and last for infinite amount of time, and shows ∞ in the status effect screen.

Observed Result
Syntax error, the effect cannot be applied.

Fixed

[Helper] lillybeacon

2023-06-30, 03:58 AM

2024-10-22, 03:23 PM

2024-10-22, 03:23 PM

16

8

Confirmed

1065987

vanilla-parity

1.20.70.24 Preview - 1.21.01.20.70.24 Preview, 1.20.30.22 Preview, 1.20.20.20 Preview, 1.20.1 Hotfix, 1.20.10, 1.20.11 Hotfix, 1.20.12 Hotfix, 1.20.30, 1.20.32 Hotfix, 1.20.41 Hotfix, 1.20.51 Hotfix, 1.20.73 Hotfix, 1.21.0.23 Preview, 1.20.80, 1.21.0.24 Preview, 1.20.81 Hotfix, 1.21.0

1.21.40.20 Preview, 1.21.40