Change potion effects
set_effectsGive, remove, or clear a Minecraft player's potion effects in one call, applying clears first, then removals, then additions, and return the effects left afterward.
Instructions
Give, take away, or clear a player's potion effects, in that order: clear first, then remove, then add. Answers with the effects the player has afterwards. The player must be online; otherwise the error is player_offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| clear | No | Take away every effect first | |
| player | Yes | Player name or UUID | |
| remove | No | Effect keys to take away |