0

I have this command that gives Max Welfrice a custom potion. Here is the command I use:

/give @p potion 1 16389 {name:MaxWelfrice},{CustomPotionEffects:[1:{Id:7,Amplifier:1,Duration:0}]}

But it doesn't work! I'm a noob to this command thing so can anyone check it for me?

2
  • Do you want to give the potion to a player called MaxWelfrice, or do you want to give the nearest player a potion named MaxWelrice? Nov 14, 2015 at 8:36
  • give the player named MaxWelfrice
    – Cụ Rùa
    Nov 14, 2015 at 9:31

1 Answer 1

5

Try the following:

/give MaxWelfrice potion 1 16389 {CustomPotionEffects:[{Id:7,Amplifier:1,Duration:0}]}

If you'd like to give a potion to a particular player, simply just enter their username. Instead of a selector and NBT tag with their username in it.

1
  • ok ths a lot both aytimothy and CommandFox! :)
    – Cụ Rùa
    Nov 15, 2015 at 14:24

You must log in to answer this question.

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