1

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?

1
  • Have you made any attempt to solve this yourself? Arqade works much better when there's an attempt made by the asker to solve their problem first. We get more effort, you get a better answer, and everybody is happy.
    – Frank
    Feb 19, 2015 at 17:48

3 Answers 3

6

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.

3
  • 2
    @alixey999 No problem, if my answer works remember you can accept it by clicking the green tick mark :)
    – imulsion
    Feb 18, 2015 at 17:13
  • Instead of a pressure plate, I would just put the clearing command block on a 20Hz clock and use selectors to clear the effect from everyone within a specific area.
    – MBraedley
    Feb 19, 2015 at 2:14
  • 1.13 syntax: /effect clear *player*
    – pppery
    Mar 10, 2020 at 20:28
1

You can remove slowness from a player using

/effect <player> 2 0
1
  • 1.13 syntax: /effect clear <player> slowness
    – pppery
    Mar 10, 2020 at 20:28
-1

Use /effect player clear This will clear all effects

1
  • 1.13 syntax: /effect clear player
    – pppery
    Mar 10, 2020 at 20:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .