[SPIGOT-1817] Make the potion class use NBT tags Created: 06/Mar/16  Updated: 06/Mar/16  Resolved: 06/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Faris Rehman Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: 1.9, NBT, NMS, Potion, Spigot


 Description   

Potions no longer use durability/data values to identify themselves as a certain type. This means any plugin that uses durabilities to give potions no longer work, and to give a potion we must use NBT tags. However, many people don't know how to use NBT tags and it's also a bit complicated. It'd be a lot easier if Spigot could implement some support of NBT tags and getting the potion type from an item, and potentially fix their Potion class.

This may be a 'duplicate', but I'd like to put this on Major priority as I know that many plugins are awaiting some kind of potion update and there is no 'easy' workaround.
Personally, I cannot update KingKits to 1.9 as the kit deserialization for potions is broken now.


Generated at Thu Apr 03 15:54:51 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.