Uh, all of you are making this overly-complicated... You know the /effect command? You know, /give [PlayerName] [Effect] [Seconds] [Amplifier]? Well, the Effect 1 is speed, 2 is slowness, and so on. It seems /give potions is similar. /give [PlayerName] minecraft:potion [amount] [data] To give yourself a potion of regeneration, do /give [PlayerName] minecraft:potion 1 1. Replace the second '1' with a 2 for speed, and so on. Experiment with it to learn more.
Uh, all of you are making this overly-complicated...
You know the /effect command? You know, /give [PlayerName] [Effect] [Seconds] [Amplifier]?
Well, the Effect 1 is speed, 2 is slowness, and so on. It seems /give potions is similar.
/give [PlayerName] minecraft:potion [amount] [data]
To give yourself a potion of regeneration, do /give [PlayerName] minecraft:potion 1 1. Replace the second '1' with a 2 for speed, and so on. Experiment with it to learn more.