Changes
Page history
added citation to mob variables
authored
Oct 22, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Variables.md
View page @
e7b4f243
...
...
@@ -85,3 +85,14 @@ Variables can also be nested indefinitely: if this is done, the innermost variab
-
message{m="<caster.var.<caster.var.hello>>"} @PIR{r=10}
```
> In this example, the message would spell "Hello there!"
# [Mob Variables](/Mobs/Mobs#variables)
Mobs can have some variable be already set once they spawn thanks to the
[
Mob Variables
](
/Mobs/Mobs#variables
)
field.
```
yaml
VariableZombie
:
Type
:
ZOMBIE
Variables
:
SomeVariable
:
something
AnIntVariable
:
int/2
AFloatVariable
:
float/420.69
```
\ No newline at end of file