Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
Update Commands.md
Browse files Browse the repository at this point in the history
  • Loading branch information
melontini authored Jun 2, 2024
1 parent 75a1e32 commit 5dd1d45
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docs/Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,22 @@ All command types accept a special `condition` field, that can operate on the cu

Various command types can take additional parameters.

Although Commander avoids using commands outside events, other projects might integrate commands to other contexts. This is not unsupported.
You can also use Commander commands in advancement rewards:

```json
{
"rewards": {
"commander:commands": [
{
"type": "commander:print",
"text": "42"
}
]
}
}
```

And other projects might integrate commands to other contexts!

[[toc]]

Expand Down Expand Up @@ -190,4 +205,4 @@ The `expression` command requires an expression which returns a number or a stri
"element": 45
}
```
:::
:::

0 comments on commit 5dd1d45

Please sign in to comment.