Minecraft /effect command
Java EditionBedrock EditionSince 1.5 (13w09b)
Quick answer: Applies or removes status effects like speed, strength or regeneration. Syntax:
/effect give <target> <effect> [seconds] [amplifier] [hideParticles]/effect give applies a potion-style status effect to players or mobs, with a duration in seconds and an amplifier (level minus one). /effect clear removes effects. Infinite duration is supported in modern Java with the keyword infinite.
Syntax
| Edition | Syntax |
|---|---|
| Java | /effect give <target> <effect> [seconds] [amplifier] [hideParticles] |
| Bedrock | /effect <player: target> <effect: Effect> [seconds: int] [amplifier: int] [hideParticles: Boolean] |
Targets / arguments: give or clear, an entity target, an effect ID. Requires: Cheats enabled / operator level 2.
Examples
/effect give @s minecraft:speed 60 1Give yourself Speed II for 60 seconds
/effect give @p minecraft:regeneration infinitePermanent regeneration on the nearest player (Java)
/effect clear @a minecraft:poisonCure everyone of poison
Tips
- Amplifier is level minus 1: amplifier 0 = level I, amplifier 3 = level IV.
- Bedrock caps duration at high but finite values; Java 1.19.4+ accepts infinite.
- Use /effect clear @s with no effect to remove everything from yourself.