Skip to content

Commit

Permalink
Merge docs for 'Carpet Mod 1.4.128 for Minecraft 1.20.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 5, 2023
1 parent 9217631 commit ab79e76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/scarpet/Full.md
Original file line number Diff line number Diff line change
Expand Up @@ -3650,7 +3650,7 @@ version indicates the version of the connected carpet client.
### `query(e, 'effect', name?)`
Without extra arguments, it returns list of effect active on a living entity. Each entry is a triple of short
effect name, amplifier, and remaining duration in ticks. With an argument, if the living entity has not that potion active,
effect name, amplifier, and remaining duration in ticks (-1 if it has infinity duration). With an argument, if the living entity has not that potion active,
returns `null`, otherwise return a tuple of amplifier and remaining duration.
<pre>
Expand Down Expand Up @@ -3990,7 +3990,7 @@ players, since they are controlled client side.
### `modify(e, 'effect', name?, duration?, amplifier?, show_particles?, show_icon?, ambient?)`

Applies status effect to the living entity. Takes several optional parameters, which default to `0`, `true`,
`true` and `false`. If no duration is specified, or if it's null or 0, the effect is removed. If name is not specified,
`true` and `false`. If no duration is specified, or if it's null or 0, the effect is removed. If duration is less than 0, it will represent infinity. If name is not specified,
it clears all effects.

### `modify(e, 'health', float)`
Expand Down

0 comments on commit ab79e76

Please sign in to comment.