mojira.dev
MC-259625

"Infinite" does not have a colour when typing the command

The word "infinite" when typing out a /effect command doesn't have a colour.

Linked issues

Attachments

Comments 1

Because it is a literal keyword, just like "give" there.

This is consistent with other commands with literal arguments that aren't variables.

the syntax is now
/effect give <target> <effect> [<duration>|infinite] [<amplifier>] [<hide particles>]
Infinite is not a duration value, but a separate literal keyword.

Shuddery

(Unassigned)

Confirmed

Commands, Text

23w05a

Retrieved