You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog/2025-11/1.37.0.mdx
+19-15Lines changed: 19 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,23 +4,27 @@ title: 1.37.0 Changelog
4
4
5
5
## Additions
6
6
7
-
#### Added set variable action
8
-
> With these you can set a decimal number to a name which can be used for other actions.
9
-
> This action unlike others use the Molang expression language so instead of being provided buttons with add, sub, and set
10
-
> you get to use an expression to set the variable, for example if you have a variable named`result` and you have the expression as `variable.result + 1` it will increment it by one each time its ran, but maybe you want more than just addition, you can use other variables to effect `result` for example `variable.one + variable.two`
11
-
> will make it so the `result` variable will be the sum of variable `one` and `two`.
7
+
#### Added Set Variable Action
8
+
> With these, you can set a decimal number to a name that can be used for other actions.
9
+
> This action, unlike others, uses the Molang expression language, so instead of being provided buttons with add, sub, and set,
10
+
> you get to use an expression to set the variable. For example, if you have a variable named `result` and you have the expression as `variable.result + 1`, it will increment it by one each time it's run. But maybe you want more than just addition. In such cases,
11
+
> you can use other variables to affect `result`, for example, `variable.one + variable.two`
12
+
> will make it so the `result` variable will be the sum of variables `one` and `two`.
12
13
13
-
#### Added action requirements
14
-
> With variables alone its not much, but now you can set a requirement for a plate or region.
15
-
> Like the new set variable action this is also a Molang expression but instead of resolving to a number it must resolve to a true or false, you can use the variables set in the new action for the requirements.
14
+
#### Added Action Requirements
15
+
> With variables alone, it's not much, so we've also made it so you can set a requirement for a plate or region.
16
+
> Just like the new set variable action, this is also a Molang expression, but instead of resolving to a number, it must resolve to a true or false.
17
+
> You can use the variables set in the new action for the requirements.
16
18
>
17
-
> An example of this is if you set the requirement to `variable.result > 5` this will require to activate the plate/region the player must have a variable in their state this is greater than 5.
19
+
> An example of this is if you set the requirement to `variable.result > 5`, then to activate the plate/region, the player must have a variable in their state that is greater than 5.
18
20
>
19
-
> You can also optionally set a requirement message or by default it will have its own, you can also disable such a message as well for more complex maps.
21
+
> You can also optionally set a requirement message, or by default it will have its own; you can also disable such a message as well for more complex maps.
20
22
21
-
#### Added variable placeholders to chat action
22
-
> You can also use the variables in chat actions as such you can do `<variable:name/>` and it will insert the variable into the chat message.
23
-
> You can also use the additional arguments like `<variable:name:percent:100/>` which will format the inserted text as a percentage with the last argument `100` being what its out of.
23
+
#### Added Variable Placeholders To Chat Action
24
+
> You can also use the variables in chat actions. Simply write `<variable:name/>` and it will insert the variable into the chat message.
25
+
> You can also use additional arguments like `<variable:name:percent:100/>`, which will format the inserted text as a percentage with
26
+
> the last argument `100` being what it's out of.
24
27
25
-
> You can find out more about Molang and what you can do with it on Microsoft's documentation <https://learn.microsoft.com/en-us/minecraft/creator/documents/molang/syntax-guide>
26
-
> Do note some more advanced stuff is unsupported
28
+
> You can find out more about Molang and what you can do with it on Microsoft's documentation
0 commit comments