Changes
Page history
Changed Grammar
authored
Aug 31, 2023
by
Dante
Show whitespace changes
Inline
Side-by-side
Placeholders.md
View page @
89ccd03b
...
@@ -13,7 +13,7 @@ Skills:
...
@@ -13,7 +13,7 @@ Skills:
-
message{m="<caster.item.nbt.TestKey|Unknown>"} @self ~onSwing
-
message{m="<caster.item.nbt.TestKey|Unknown>"} @self ~onSwing
-
message{m="<caster.item.hand.nbt.Some.Other_Key|5>"} @self ~onSwing
-
message{m="<caster.item.hand.nbt.Some.Other_Key|5>"} @self ~onSwing
```
```
Put
the default valu
e after "|" inside the placeholder
for
when the value is undefined.
Put
a value to us
e after "|" inside the placeholder
to provide a default
when the value is undefined.
| Caster Placeholder | Function |
| Caster Placeholder | Function |
|:----------------------------------:|-------------------------------------------------------------------|
|:----------------------------------:|-------------------------------------------------------------------|
...
...
...
...