/effect give @p minecraft:speed 30 0The /effect give command applies a status effect to the target. Amplifier 0 = Level I, amplifier 1 = Level II, and so on. Duration is in seconds, or use "infinite" for permanent effects.
The /effect command applies or removes status effects from players and entities, the same effects you get from potions, beacons and suspicious stew, but with direct control over every parameter. This generator builds the correct give and clear syntax without memorizing effect IDs.
The give syntax is /effect give [target] [effect] [duration] [amplifier] [hideParticles]. Set the duration in seconds or use infinite for a permanent effect, and the amplifier from 0 (level I) up to 255 (level 256). Need Speed 10 for a parkour map, Instant Damage to one-shot a mob, or infinite Night Vision for building? It handles all of it.
The clear syntax is /effect clear [target] [effect]. With no effect it wipes every active effect from the target, and with one effect it removes only that one. Both forms accept any target selector: @s for yourself, @a for all players, @p for nearest, or @e for all entities.
Here is the complete list of status effects available in Java Edition, with each effect ID and whether it helps, harms, or is neutral:
| Effect | ID | Type |
|---|---|---|
| Speed | minecraft:speed | Positive |
| Slowness | minecraft:slowness | Negative |
| Haste | minecraft:haste | Positive |
| Mining Fatigue | minecraft:mining_fatigue | Negative |
| Strength | minecraft:strength | Positive |
| Instant Health | minecraft:instant_health | Positive |
| Instant Damage | minecraft:instant_damage | Negative |
| Jump Boost | minecraft:jump_boost | Positive |
| Nausea | minecraft:nausea | Negative |
| Regeneration | minecraft:regeneration | Positive |
| Resistance | minecraft:resistance | Positive |
| Fire Resistance | minecraft:fire_resistance | Positive |
| Water Breathing | minecraft:water_breathing | Positive |
| Invisibility | minecraft:invisibility | Positive |
| Blindness | minecraft:blindness | Negative |
| Night Vision | minecraft:night_vision | Positive |
| Hunger | minecraft:hunger | Negative |
| Weakness | minecraft:weakness | Negative |
| Poison | minecraft:poison | Negative |
| Wither | minecraft:wither | Negative |
| Health Boost | minecraft:health_boost | Positive |
| Absorption | minecraft:absorption | Positive |
| Saturation | minecraft:saturation | Positive |
| Glowing | minecraft:glowing | Neutral |
| Levitation | minecraft:levitation | Negative |
| Luck | minecraft:luck | Positive |
| Bad Luck | minecraft:unluck | Negative |
| Slow Falling | minecraft:slow_falling | Positive |
| Conduit Power | minecraft:conduit_power | Positive |
| Dolphin's Grace | minecraft:dolphins_grace | Positive |
| Bad Omen | minecraft:bad_omen | Neutral |
| Hero of the Village | minecraft:hero_of_the_village | Positive |
| Darkness | minecraft:darkness | Negative |
| Trial Omen | minecraft:trial_omen | Neutral |
| Raid Omen | minecraft:raid_omen | Neutral |
| Wind Charged | minecraft:wind_charged | Neutral |
| Weaving | minecraft:weaving | Neutral |
| Oozing | minecraft:oozing | Neutral |
| Infested | minecraft:infested | Neutral |
| Breath of the Nautilus | minecraft:breath_of_the_nautilus | Positive |
Adventure maps: combine Darkness, Blindness and Slowness for horror segments. Use infinite Night Vision for well-lit exploration areas, and apply Levitation at specific amplifiers to create floating sections. Amplifier 0 lifts players slowly, while amplifier 10 launches them upward fast.
PvP arenas: give all players Resistance I (20% damage reduction) to extend fights, apply Glowing to prevent camping, and use Speed I for fast matches or Slow Falling for aerial combat.
Instant versus duration: Instant Health and Instant Damage apply immediately, so duration is irrelevant for them. Instant Health I restores 4 HP and doubles per amplifier level, while Instant Damage I deals 6 HP and also doubles per level. At amplifier 32 or higher, Instant Damage kills anything.
Use /effect give <target> <effect_id> [duration] [amplifier] [hideParticles]. For example, /effect give @s minecraft:speed 600 1 true gives yourself Speed II for 600 seconds with hidden particles.
The maximum amplifier is 255 (displayed as level 256). However, most effects stop producing meaningful differences well before that. Speed becomes uncontrollable above amplifier 5-6, and Instant Damage at amplifier 32+ kills any entity regardless of health.
In Java Edition 1.20.2+, set the duration to infinite. For example, /effect give @s minecraft:night_vision infinite. The effect stays until you manually clear it with /effect clear @s minecraft:night_vision.
Use /effect clear <target> to remove every active effect from the target, or /effect clear <target> <effect_id> to remove only one specific effect. For example, /effect clear @s minecraft:poison removes just Poison while leaving other effects in place.
Browse more Minecraft tools: