Ok, looking at the Wiki /effect page from the 24:th of June (just before 1.13 was released) it appears that the "/effect clear" command is all or nothing, same as drinking milk, it removes all effects.
The ability to chose which effect to remove was apparently added with 1.13.
Hi,
I want to clear a specific potion(3 mins speed potion) with the command /clear.
I cant manage to make it work.
Can someone help please?
Thanks
btw using 1.12.2
Sorry, I missed the version!
---------------------------------------------------------------------------------------------
The following only refers to 1.13 (and forward ?)
Do you mean clear the effect? Or remove the potions from your inventory?
"/clear" removes things from the inventory.
I see what you mean, the /clear command doesn't seem to have any obvious way to specify which potions to remove.
To remove the effect you need to use "/effect clear"
"/effect clear @p minecraft:speed" removes the Speed effect but I don't know if there is a way to only remove the 3 min version.
Just testing.
Ok, looking at the Wiki /effect page from the 24:th of June (just before 1.13 was released) it appears that the "/effect clear" command is all or nothing, same as drinking milk, it removes all effects.
The ability to chose which effect to remove was apparently added with 1.13.
https://minecraft.gamepedia.com/index.php?title=Commands/effect&oldid=1229350
Just testing.