Variables
Last updated
Last updated
Syntax: {<variable_name> [flags] [<attributes>]}
The variable name is the name of the variable, for example fps
, x
or ping
. You can read more about these later.
Global Flag Syntax: -<flag_name>[=<value>]
Global flags are flags that can be applied to all variables (to some limits, you can't round a text for instance, that would give you an error).
For example a global flag could be -uc
which would make the value uppercase.
You can find all global flags at .
Specific Flags Syntax: --<attribute_name>[=<attribute_value>]
Specific variables are unique to the variable, and can only be used on the variables which accepts it. For example, the key_pressed
variable takes a specific flag called key
.
You can use both global and specific keys, and use multiple of each on the same variable! For example, {biome -sh-nd-tc}
would give you Snowy Taiga
instead of minecraft:snowy_taiga