Minecraft Java Edition – How to Give Player a Splash Potion of Healing II in Version 1.9.4

minecraft-commandsminecraft-java-edition

Like the title says, I need to be able to give a player a Splash Potion of Healing II. This is because the player needs to be able to throw the potion at themselves or at undead mobs for my map. Originally, I was using /give @p potion 1 16421 {display:{Name:"Grenade"}} when I was playing in 1.8.9, but now it does not work. It gives me a Water Bottle named "Grenade" and also has the weird pink/black block texture. What would the command be for 1.9.4?

Best Answer

As of 1.9, potions no longer use the Damage value to determine type of potion and whether or not it's a splash potion. Instead, the ID has been split into minecraft:potion and minecraft:splash_potion (along with minecraft:lingering_potion introduced in 1.9), while the effect itself is stored in the Potion string tag:

/give @p minecraft:splash_potion 1 0 {Potion:"minecraft:strong_healing",display:{Name:"Grenade"}}

You can find a list of default brew IDs here.