Remove potion effects using command blocks
I made a horse race track and at the start everyone gets slowness. At the end when they cross the finish line I want them to lose this effect. How can I achieve this?
Best Answer
The command for getting rid of all effects is /effect *player* clear, so if you put a pressure plate or something on the finish line connected to a command block, the block command would be effect @p clear. If however your racers have other effects that you don't want to remove, use effect @p 2 0, which will remove slowness only.
Pictures about "Remove potion effects using command blocks"



Quick Answer about "Remove potion effects using command blocks"
How do you remove potion effects with command blocks?
You can also use the /effect command to clear all effects from a player. Type the command in the chat window and press the Enter key to run the command. This /effect command will clear all of the effects from the player called DigMinecraft.How do you get rid of potion effects in Minecraft?
Steps to remove Potion EffectsCan you disable potion effects?
Once you have one activated, go to booster cookie menu in skyblock menu, and go to potion effects, and disable the ones you do not want. You can do the same to re-enable them.How do you reverse a potion in Minecraft?
Brewing potionsHOW TO: Clear all potion effects! SIMPLIFIED!
More answers regarding remove potion effects using command blocks
Answer 2
You can remove slowness from a player using
/effect <player> 2 0
Answer 3
Use /effect player clear This will clear all effects
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Anete Lusina, Karolina Grabowska, Sora Shimazaki, Ketut Subiyanto
