MCTOOLBOX
MC ToolboxMC TOOLBOX

Effect Studio

Status and Potion Effect Commands

Synthesis Output

Java 26.x
/effect give @p minecraft:speed 30 0
Registry Central
Configuration Lab
0
Duration (seconds)30s

Minecraft /effect Command Guide for Java and Bedrock

The /effect command adds or removes status effects from players and entities. Use it to create temporary abilities, arena rules, adventure-map mechanics, mob variants, testing scenarios, or server events without brewing and distributing potions by hand.

Java Edition uses /effect give <targets> <effect> [seconds] [amplifier] [hideParticles], while Bedrock uses /effect <player> <effect> [seconds] [amplifier] [hideParticles]. The clear syntax also differs, so select the correct edition before copying the generated command.

Build the command by choosing a target, effect, duration, amplifier, and particle setting. Read the generated command from left to right, verify the selector is narrow enough, and test high amplifiers in a private world before using the command on a public server.

Choose the Correct Target

Use @s for the current executor, @p for the nearest player, @a for all players, or @e with selector filters for entities. Prefer a specific player or a filtered selector such as @e[type=zombie,distance=..20] when testing commands that could affect many entities.

Understand Duration and Amplifier

Duration is measured in seconds. Modern Java and Bedrock versions accept infinite for a persistent effect. Amplifier is zero-based: 0 displays level I, 1 displays level II, and 4 displays level V. Extreme values can produce impractical movement, damage, or camera behavior.

Use the Correct Edition Syntax

Java adds an effect with /effect give @p minecraft:speed 60 1 false and clears it with /effect clear @p minecraft:speed. Bedrock uses its effect enum without the namespace: /effect @p speed 60 1 false, or /effect @p clear speed.

Control Particle Visibility

Set hideParticles to true for clean adventure maps, stealth mechanics, and background buffs. Keep particles visible when players need a clear visual cue that an effect is active. Hiding particles does not make the affected entity invisible.

Automate Effects Safely

Commands generated here can run in chat, command blocks, or functions when the executor has permission. For repeating systems, avoid reapplying short effects every tick unless the mechanic requires it; use a sensible refresh interval to reduce command load and visual flicker.

Test Before Using High Levels

Start with amplifier 0 and a short duration, confirm the target selector, then increase values gradually. Keep a clear command ready when testing Speed, Jump Boost, Levitation, Instant Damage, or other effects that can trap, kill, or disorient players.

Match the Effect to the Mechanic

Positive effects such as Speed, Resistance, Regeneration, and Night Vision work well for rewards and exploration. Negative effects such as Slowness, Weakness, Blindness, and Darkness create hazards or arena rules. Neutral effects such as Glowing, Bad Omen, and Trial Omen are useful for tracking players or triggering game systems.

Check Effect Availability by Version

A valid command can still fail when its effect does not exist in the selected game version. Breath of the Nautilus was added to modern releases, while older servers will reject minecraft:breath_of_the_nautilus. Java calls the Bad Luck effect minecraft:unluck, and some Java effects are unavailable in Bedrock, so the generator maintains separate edition lists.

Minecraft /effect Command Questions

How do I clear every effect from a target?

In Java Edition use /effect clear <targets>. In Bedrock Edition use /effect <player> clear. To remove only one effect, append its effect ID in the edition-specific position shown by the generator.

Why does amplifier 1 create effect level II?

The command stores amplifier values from zero. Amplifier 0 is level I, amplifier 1 is level II, and amplifier 2 is level III. The generator shows the command value, not the Roman numeral displayed in the inventory screen.

Can an effect last forever?

Java Edition supports the infinite duration keyword from 1.19.4, and Bedrock supports it from 1.21.40. For older releases, use a long numeric duration and refresh it before it expires. Always match the command to the version running the world or server.

Why does Minecraft report a syntax error?

Check the selected edition first. Java places give or clear before the target and uses namespaced IDs such as minecraft:speed. Bedrock places the target immediately after /effect and uses its effect enum, such as speed. Also verify spaces and the target selector.

Can I apply effects to mobs or all players?

Java selectors can target players or entities supported by the effect. Use @a for all players or a filtered @e selector for mobs. Bedrock command arguments and supported targets can differ, so test the generated selector in the intended edition.

Does hideParticles make a player invisible?

No. It only suppresses the status-effect particles. Use the invisibility effect when the entity itself should be hidden, and remember that held items, armor, or other cues may still reveal an invisible player.

Do I need cheats or operator permission?

Yes. Commands must be enabled and the executor needs sufficient permission. On a server, run the command as an operator, through the console, in a permitted command block, or from a function with the required command context.

How should I test dangerous effect combinations?

Use a copy of the world, target one player, choose a short duration, and keep the clear command ready. Test Instant Damage, high Speed, Jump Boost, Levitation, Blindness, and Nausea carefully before applying them to groups.

Does duration matter for Instant Health or Instant Damage?

These are instant effects, so they apply once instead of remaining active for the specified duration. Amplifier still changes their strength. Start at amplifier 0 and test against a controlled target before increasing it.

What is the command ID for Bad Luck?

In Java Edition the displayed effect name is Bad Luck, but its command ID is minecraft:unluck. Use that ID rather than minecraft:bad_luck. Bedrock does not expose every Java effect, so only effects supported by the selected edition appear in the generator.