Minecraft /effect generator

Commands

Apply and remove player status effectsLearn more

Speed, night vision, resistance — instantly on player, no potion needed. Select effects, level, and duration, and who to give them to — then retrieve the /effect give commands and the command to remove.

My Game select version

Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.

Result

Minecraft /effect Command

Select an effect to generate commands for applying and removing it.

Remove all effects

/effect clear @s

How to use the result

  1. In chat

    Enter one line at a time: each effect gets its own command. Operator permissions or 'Allow Cheats' are required in single-player.

  2. Using a command block

    For a zone or trap — use the 'Pulse' block with a button. Narrow the target further: @a[distance=..10] — all players within ten blocks.

  3. Remove effect

    The second line removes exactly these effects; the third removes all at once. Milk does the same without commands

What to know about /effect

  • Level in command is one less. Speed I is 0, Speed II is 1. The generator converts the level itself.
  • Time — in seconds, from 1 to 1000000. The effect lasts 30 seconds without a number. The word 'infinite' means infinite, starting from version 1.19.4.
  • Stronger replaces weaker. An effect of the same type with a higher level stacks on top. A weaker but longer-lasting one is remembered and activated when the stronger one ends.
  • Instant effects activate immediately. Instant Health and Instant Damage have no duration. The command uses 1 as a placeholder so it can specify the effect level.

What each effect does — in the wiki, in the section Effects. The same composition is needed in a bottle or on a spear — open it a potion generator.

Frequently asked questions

How to give yourself an effect in Minecraft?

With the command /effect give @s and the effect ID, followed by time in seconds and amplifier level: /effect give @s minecraft:speed 60 1 — this is 'Speed II' for one minute.

How to create an infinite effect?

Use 'infinite' instead of seconds: /effect give @s minecraft:night_vision infinite 0 true. Works from version 1.19.4; previously used 1,000,000 seconds.

How to remove an effect with a command?

With the command /effect clear @s, all effects are removed; or /effect clear @s and the effect ID to remove only that one. Milk does the same thing without a command.