Effect command
This commit is contained in:
@@ -82,6 +82,8 @@ Like block components, an effect that lists a component nobody registered stops
|
||||
|
||||
## Using Effects
|
||||
|
||||
`/effect <effect> [seconds]` gives you one while testing, for 30 seconds unless you say.
|
||||
|
||||
Any mod's effects are added to players by id, see [Status Effects](players.md#status-effects):
|
||||
|
||||
```ts
|
||||
|
||||
@@ -108,6 +108,7 @@ Commands can only be registered during `setup`.
|
||||
| Command | What it does |
|
||||
| ------------------------------------------------------- | -------------------------------------------------------- |
|
||||
| `/give <item> [count]` | Gives you an item |
|
||||
| `/effect <effect> [seconds]` | Gives you a status effect, for 30 seconds by default |
|
||||
| `/summon <entity>` | Spawns an entity where you are |
|
||||
| `/time` | Shows the time |
|
||||
| `/time set <day\|noon\|sunset\|night\|midnight\|ticks>` | Jumps to the next time of day. Time never goes back |
|
||||
|
||||
Reference in New Issue
Block a user