This gives a basic potion (water bottle) with the count of one (that come from the '1' place after '373'). So we now have a water bottle but what if we want it to give some actual effects? To do that we have to add one more number after our count, this number is known as the 'damage' of the potion. Changing the damage of a potion will give different effects, so what happens if we give our water bottle a damage of 1?
/give @p 373 1 1
See that? We just got a basic Potion of Regeneration. We can use this damage value system to create all kinds of potions. For example, a damage of 2 will give a Potion of Swiftness etc. This is all well and good, but we don't have any "custom" potions yet. We can add custom potion effects by changing the potion's DataTag. This is achieved through the use of 'CustomPotionEffects'.
CustomPotionEffects is what is telling the command that we want to add custom effect to the potion.
"Id:2"
The id is specifying what effect we want. In this case, ID 2 is Slowness. For effect ID's visit theMinecraft Wiki.
"Amplifier:1"
The amplifier is enhancing our potion from basic Slowness I. Keep in mind that an amplifier of 0 is considered Slowness I, so an amplifier of 1 gives us Slowness II.
"Duration:200"
The duration is telling our potion how long to apply the effect. IMPORTANT: Duration is measured in ticks (there a 20 ticks per second) so this potion gives a duration of 10 seconds.So when we put everything together, we get a Slowness II potion with a duration of 10 seconds.
That's all well and good, but what if we want multiple effects on our potion? That's simple enough, all we have to do is add another set of data after what we had previously entered. IMPORTANT: Be sure to seperate your effects with a comma, like shown below.
This potion now gives us Slowness II and Nausea for 10 seconds. But we want a more interesting name than "Potion of Slowness", to achieve this we can add a custom name to our potion using the display tag. IMPORTANT: Be sure to lay this out exactly as below, or it will not work.
{display:{Name:Potion of Lead Feet}}
We can now place our custom name into our our pre-made potion as shown below.
/give @p 373 1 1 {display:{Name:Potion of Lead Feet},CustomPotionEffects:[{Id:2,Amplifier:1,Duration:200},{Id:9,Amplifier:0,Duration:200}]}
Voilà! We now have a fully custom potion with a custom name.To learn more about DataTags and how they work, head over to minihilly's post HERE.
To give any item/block we would use:The item id for a potion is 373, so we would use:This gives a basic potion (water bottle) with the count of one (that come from the '1' place after '373'). So we now have a water bottle but what if we want it to give some actual effects? To do that we have to add one more number after our count, this number is known as the 'damage' of the potion. Changing the damage of a potion will give different effects, so what happens if we give our water bottle a damage of 1?See that? We just got a basic Potion of Regeneration. We can use this damage value system to create all kinds of potions. For example, a damage of 2 will give a Potion of Swiftness etc. This is all well and good, but we don't have any "custom" potions yet. We can add custom potion effects by changing the potion's DataTag. This is achieved through the use of 'CustomPotionEffects'.Woah, slow down there! Let's break this up: CustomPotionEffects is what is telling the command that we want to add custom effect to the potion.Minecraft Wiki. The id is specifying what effect we want. In this case, ID 2 is Slowness. For effect ID's visit the The amplifier is enhancing our potion from basic Slowness I. Keep in mind that an amplifier of 0 is considered Slowness I, so an amplifier of 1 gives us Slowness II. The duration is telling our potion how long to apply the effect. IMPORTANT: Duration is measured in ticks (there a 20 ticks per second) so this potion gives a duration of 10 seconds.So when we put everything together, we get a Slowness II potion with a duration of 10 seconds.That's all well and good, but what if we want multiple effects on our potion? That's simple enough, all we have to do is add another set of data after what we had previously entered. IMPORTANT: Be sure to seperate your effects with a comma, like shown below.This potion now gives us Slowness II and Nausea for 10 seconds. But we want a more interesting name than "Potion of Slowness", to achieve this we can add a custom name to our potion using the display tag. IMPORTANT: Be sure to lay this out exactly as below, or it will not work.We can now place our custom name into our our pre-made potion as shown below.Voilà! We now have a fully custom potion with a custom name.To learn more about DataTags and how they work, head over to minihilly's post HERE.
Link Removed
Link Removed