So on my server we have the plugin MobArena, and what we want is for players on an upgrade wave to get a lingering potion of healing. Now, the item format is like this:
<item>:[metadata]:<amount> {<>=required,[]=optional}
So I would normally set potions up by doing (health as example) 373:8197:1
So I know that a lingering potion has an ID of 441, but what would be the metadata for a healing lingering potion? Because I can't seem to find the metadata values for lingering potions anywhere.
Best Answer
As of 1.9, potions do not use a metadata value to determine the type of potion. Instead, the type of default potion is stored as a
Potion
string tag within thetag
compound of the item format:Or via
/give
, which starts NBT input within thetag
compound:A list of default potion IDs can be found here.