I was trying to obtain a Potion of Haste, and as of right now I am not sure that that is possible without some sort of modification to the game, but I tried to run the command
/give <Player> minecraft:potion 1 1 {haste:true}
. I wasn't really sure that this was going to work, as I am not very familiar with the new 1.8 ID format and stuff, hence the weird data and whatever, but I assumed that this command would result in either an error, or a Potion of Haste.
Instead, I was surprised when I was given a Potion of Regeneration. I tried to run the command
/give <Player> minecraft:potion 1 1 {healthBoost:true}
, and again, I was given a Potion of Regeneration. I ran the command
/give <Player> minecraft:potion 1 1 {}
, and again was given a Potion of Regeneration.
This led me to believe that using the give command to try to give a player a potion with any data tag results in giving said player a Potion of Regeneration. I think this is similar to the problem I had in 1.7, wherein summoning a Horse with a datatag would spawn a white colored Horse with a specific max health, speed, and jump height (the same every time).
I hope this bug is fixed, or someone can tell me what I am doing wrong, so that I can give myself specific types of potions (because the command
/give <Player> minecraft:potion 1
always yields a Water Bottle [because the ID of a Water Bottle is minecraft:potion], and I end up having to use the Creative mode inventory) (Even if Potions of Haste are unobtainable).
[Sort of unrelated, but] Also, I know that the MCMMO server plugin allows players with a high level Alchemy skill to brew Potions of Haste (which happen to have a blue hue instead of yellow for some reason), but that is not Vanilla Minecraft, and must use some sort of server-side datatag that gives any player drinking the potion the Haste status effect.
Thank you for reading.
Comments 4
Thank you for directing me to the pages I need to use
I suppose the Id:3,Amplifier:1,Duration:2400 is referring to 'Haste 1[or maybe 2], 2,400 seconds' (similar to the format off the /effect command [which I use a lot] which is '/effect <status effect ID> <amplifier (which for some reason is always one more than the digit here [example:2 results in level 3])> <duration in seconds>'
I already did know that 3 was the ID for the Haste effect, as I have memorized
1-Speed
2-Slowness
3-Haste
4-Mining Fatigue (I think)
5-Strength
13-Hunger
However, I thought that I would need to use 'Haste' or 'minecraft:haste' [or something along those lines] because of the new 1.8 ID system, in which you need to use name IDs instead of numerical IDs (minecraft:stone instead of 0 [or whatever the old ID was, maybe 1]). Apparently I was mistaken.
After all this, I do not understand why this issue is 'invalid'. Even though I did not know the correct data tag to use ({CusomPotionEffects}), it is still a bug that any incorrect data tag in the /give command yields a Potion of Regeneration, instead of an error message [the gist of which would be 'Incorrect data stuff on the end of your command, please so it like this:'] or a Water Bottle (ID: 'minecraft:potion')
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.
Yeah, I know how to use /effect, and as of 1.8, you can use /effect <Player> minecraft:<name of status effect> [time in seconds] [amplifier]. I just wanted to see if you could get a potion of haste without external editors or whatever, so I was messing around with commands. I thought that the datatags I was putting on the end were what was causeing the potions to have a regeneration effect, but I now know it was the number after the amount (1), and can properly do that. Without a datatag, that number determines what kind of potion it will be, or you can use the {CustomPotionEffects} tag to change the effect but not the name or color (e.g. Potion of Regeneration with a Speed effect) (I think).
There is no
Use
(Play around with XXXX for the correct name of the potion)
See http://minecraft.gamepedia.com/Potion#Data_value_table and http://minecraft.gamepedia.com/Status_effects