SyntaxΒΆ
Syntax |
Notes |
---|---|
|
Define a new variable |
|
Define a new scoreboard objective |
|
Set the value of an objective for a given target (eg. |
|
Define a text replacement for the preprocessor. See examples for more information |
|
Update the value of an existing variable |
|
Used to test variables in |
|
Define a function. Generates a new mcfunction file |
|
Close a function definition. |
|
Call a function. Can infer namespace based on directory (see function calling example) |
|
Create a while loop. Condition should be something passable to an |
|
Close a while loop. |
|
Shorthand for |
|
Can be used with a scoreboard operation as such: |
|
Delete a variable or objective. Can be used interchangeably |
Assignment Operators |
|
|
Add to a variable. |
|
Subtract from a variable. |
|
Set the value of a variable. |