Minecraft Blogs / Tutorial

How to give players custom potions

  • 6,204 views, 1 today
  • 3
  • 1
  • 1
TheXsource's Avatar TheXsource
Level 44 : Master Warrior
13
When giving players custom potions make sure that you know how.
All this can be done with either mcedit, nbtedit or just command blocks in 1.7.2.
So here's how:
Step 1:Get the potion Template you want.
/give @p 373 1 16430

Step 2:Use the data tag feature.
{CustomPotionEffects:[{Id:8,Amplifier:5,Duration:10}]}
Side Note:You can also add more than just one potion effect by doing this.
{CustomPotionEffects:[{Id:8,Amplifier:5,Duration:10},{Id:5,Amplifier:2,Duration:5}]}

Step 3:Attach the pieces together.
/give @p 373 1 16430 {CustomPotionEffects:[{Id:8,Amplifier:5,Duration:10}]}

There is actually no need to follow this step by step just copy and paste the command above into a command block.

If this works leave a diamond for more blog tutorials.
Tags

Create an account or sign in to comment.

jfields99
06/19/2014 4:31 pm
Level 2 : Apprentice Miner
jfields99's Avatar
How do you get the Display and Lore?
1

Welcome