ExperimentalOptional Readonly ExperimentalenabledThe user can run it (default true).
Optional Readonly ExperimentalcheckedA check mark: true, false, or null for none (default null).
Optional Readonly ExperimentalbusyShown as working (default false).
Optional Readonly ExperimentalreasonWhy it is disabled: source text or a text value in wire form, or null (default).
A command's state as the player takes it:
enabled,checked(null: no check mark),busyandreason(a text, ornull).Remarks
Experimental: the wire protocol is not semver; this member changes with versions.
Example: Grey out a command with a reason
The menu shows the command disabled, with the reason as its tooltip.
Since
1.7.0