Remove potion effects using command blocks

Remove potion effects using command blocks - Crop hacker silhouette typing on computer keyboard while hacking system

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"

Remove potion effects using command blocks - Anonymous person drying mirror with squeegee
Remove potion effects using command blocks - From above of crop anonymous male hacker typing on netbook with data on screen while sitting at desk
Remove potion effects using command blocks - Crop man packing carton box with scotch tape dispenser



Quick Answer about "Remove potion effects using command blocks"

  • "/effect clear <PlayerName>" will remove all status effects on the target player.
  • "/effect clear @a" will remove status from all players in the current Minecraft world.


  • 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 Effects
  • Select a Bucket of Milk. If you have special effects from either a potion or splash potion, you will see colored swirls floating all around you. These potion effects may be positive or harmful, but either way, there is a way to remove them immediately. ...
  • Drink the Milk. Next, use the milk.


  • Can 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 potions
  • An enhancer ingredient may be added: glowstone dust to make the effect more intense, or redstone dust to make it last longer.
  • A fermented spider eye may be added to "corrupt" the effect, generally reversing it.




  • HOW 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