The /effect command in Minecraft lets you give or remove a potion effect from a player. Whether to increase strength, speed or even inflict a harmful effect such as blindness, this Minecraft command offers great flexibility in customizing the gaming experience.
Table of Contents
/effect command syntax
The syntax of the /effect
command varies between Minecraft versions.
Java Edition (1.13 and later)
To give an effect :
/effect give <targets> <effect> [seconds] [amplifier] [hideParticles]
To delete an effect :
/effect clear <targets> [effect]
Java Edition (1.8 to 1.12)
To give an effect :
/effect <player> <effect> [seconds] [amplifier] [hideParticles]
To remove an effect :
/effect <player> clear
The arguments are as follows :
targets
orplayer
: the name of the player or a target selector.effect
: the name of the potion effect.seconds
: effect duration in seconds (optional, default 30 seconds).amplifier
: effect level (optional, default 0).hideParticles
: whether or not to hide effect particles (optional, default false).
How to enter the /effect command
- Open the chat window by pressing the
T
key (Java Edition) or by using the command corresponding to your version. - Type the
/effect
command followed by the appropriate arguments. - Press
Enter
to execute the command.
Examples of use
- To give the Force IV effect to a player called Keither for 45 seconds :
/effect Keither minecraft:strength 45 3
- To give the Improved Jump II effect to a player for 50 seconds :
/effect Keither 8 50 1
- To remove all effects from a player :
/effect Keither clear
Additional information
- The
/effect
command is available in Java, Pocket Edition, Xbox One, PS4, Nintendo Switch, Windows 10 Edition and Education Edition. - Effects can be beneficial or harmful
- The amplifier is used to increase the effect level, for example, an amplifier of 3 will give a Force IV effect.
Using the /effect
command, you can customize the game experience by adding player-specific effects, which can add an extra dimension to your Minecraft adventures.