From 0ea463bbedf323eab87dd5e192c5973a056f5962 Mon Sep 17 00:00:00 2001 From: gnembon Date: Tue, 9 Jun 2020 12:34:03 -0300 Subject: [PATCH] docs --- docs/scarpet/api/Entities.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/scarpet/api/Entities.md b/docs/scarpet/api/Entities.md index fc80dcb6..a0524460 100644 --- a/docs/scarpet/api/Entities.md +++ b/docs/scarpet/api/Entities.md @@ -477,11 +477,11 @@ If called with `false` value, it will disable AI in the mob. `true` will enable Sets if the entity obeys any collisions, including collisions with the terrain and basic physics. Not affecting 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` -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. +and `true`. If no duration is specified, or if it's null or 0, the effect is removed. If name is not specified, +it clears all effects. ### `modify(e, 'home', null), modify(e, 'home', block, distance?), modify(e, 'home', x, y, z, distance?)`