docs
This commit is contained in:
1 parent
50b414727c
commit
eb2e6921c1
1 file changed
+2
-1
@@ -473,7 +473,8 @@ players, since they are controlled client side.
|
|||||||
### `modify(e, 'effect', name, duration?, amplifier?, show_particles?, show_icon?)`
|
### `modify(e, 'effect', name, duration?, amplifier?, show_particles?, show_icon?)`
|
||||||
|
|
||||||
Applies status effect to the living entity. Takes several optional parameters, which default to `0`, `true`
|
Applies status effect to the living entity. Takes several optional parameters, which default to `0`, `true`
|
||||||
and `true`. If no duration is specified, or if it's null or 0, the effect is removed.
|
and `true`. If no duration is specified, or if it's null or 0, the effect is removed. If the effect name is specified
|
||||||
|
as `null` that clears all effects.
|
||||||
|
|
||||||
### `modify(e, 'home', null), modify(e, 'home', block, distance?), modify(e, 'home', x, y, z, distance?)`
|
### `modify(e, 'home', null), modify(e, 'home', block, distance?), modify(e, 'home', x, y, z, distance?)`
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user