/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.
2023-06-30, 03:58 AM
2024-10-22, 03:23 PM
2024-10-22, 03:23 PM
16
8
1065987