Minecraft Java · 1.16+
/effect
Give or remove Minecraft Java status effects and build a command set.
Give Speed II
Choose Give effects, Speed, level 2 and 30 seconds. Copy the command and run it in chat with command permissions.
Give several effects
Click Add or update after configuring each effect. Copy lines individually or copy the set into a function.
Remove an effect
Choose Remove selected effects to remove specific ones. Remove all effects clears both beneficial and harmful effects.
FAQ Frequently asked questions 30 questions
Essential questions 5
How do I give my first effect?
Choose a target, effect, duration and level. Copy the generated line and run it in Minecraft chat with command permissions.
Why does level 2 become 1?
Minecraft starts the amplifier at zero. The editor subtracts one, so level II becomes amplifier 1.
How do I remove one effect?
Choose Remove selected effects, pick the effect and copy its line. Add more to remove several effects.
What does Remove all effects do?
It removes every effect on the target, including beneficial effects. Use Remove selected effects for individual ones.
What does Every effect include?
All effects in the selected release, including harmful and instant ones. It uses the level and time in the form. Use Useful set for common benefits.
Syntax and arguments 5
What is the syntax for applying an effect?
Java Edition uses /effect give <targets> <effect> [seconds] [amplifier] [hideParticles]. Argument order matters.
What is the syntax for clearing effects?
Use /effect clear [targets] [effect]. When no individual effect is supplied, the target's effects are cleared.
What does the seconds argument mean?
It specifies duration in seconds for normal effects. Instant effects can handle duration differently.
Why does amplifier 1 mean level II?
The amplifier is zero-based. Zero represents level I, one represents level II, and two represents level III.
What does hideParticles do?
Setting it to true hides particles and the effect indicator in supported Java versions without cancelling the effect itself.
Practical examples 5
How do I copy several effects?
Click Add or update for each effect. Copy lines individually for chat or copy the full set for an .mcfunction file.
How do I give Regeneration for thirty seconds?
Run /effect give @s minecraft:regeneration 30 0. The supported target receives Regeneration I for thirty seconds.
How do I give Strength to Steve?
The command /effect give Steve minecraft:strength 60 0 applies Strength I to Steve for sixty seconds.
How do I grant infinite Night Vision?
Use /effect give @s minecraft:night_vision infinite 0. The effect does not use an ordinary expiring duration.
How can I hide Speed particles?
Run /effect give @s minecraft:speed 60 0 true. Speed remains active while its normal effect particles are hidden.
Advanced usage 5
Can I apply an effect to every player?
Yes, for example /effect give @a minecraft:haste 60 0. Verify that all players should receive the effect first.
Can I apply an effect only to zombies?
Yes. A selector such as @e[type=minecraft:zombie] targets zombies matching the execution conditions.
How can I extend an existing effect?
Apply the effect again with appropriate duration and amplifier values. Minecraft compares it with the current effect.
Can /effect be used inside /execute?
Yes. /execute establishes conditions and execution context before applying the effect to selected entities.
Can I remove an effect from several entities?
Yes. Use a suitable selector in /effect clear and verify that it does not include unintended targets.
Troubleshooting 4
Why was my new effect not applied?
Check the effect identifier, selected entity, entity-specific behavior and stronger effects already active.
Why does the effect not get stronger?
The new amplifier may not exceed the existing one, or Minecraft may preserve the stronger active effect.
Why does an old tutorial command fail?
The tutorial may use older Java syntax from before the command was separated into give and clear branches.
Why does clear without a target fail in console?
The dedicated server console is not a player. Specify a valid player or entity selector explicitly.
Minecraft versions 3
When was the infinite argument introduced?
The infinite duration argument was added in Java Edition 1.19.4. Older versions require another supported duration.
When were the give and clear branches introduced?
The modern syntax with give and clear was introduced during the Java Edition 1.13 command overhaul.
Does Java /effect syntax work in Bedrock?
Not necessarily. Bedrock uses a different argument order for some options, so commands must be checked separately.
Permissions and safety 3
What permissions does /effect require?
Java Edition normally requires permission level 2. Mass effect distribution should remain restricted to trusted operators.
Can extremely high effect levels be dangerous?
Yes. Extreme amplifiers can cause unusual movement, damage behavior or visual problems during gameplay.
How can I safely remove an unwanted effect?
Use /effect clear with the specific target and effect instead of clearing every effect from every server player.
Rate this tool
Did this tool work for you? Tell us what went well or what could improve.
Sign in to leave a review