Solved How do I add an NBT tag to an item?

Discussion in 'Spigot Plugin Help' started by Zocker7000, Mar 22, 2020.

  1. Good day,

    I would like to know how I can add and remove an NBT tag on an item stack, and I would also like to know how to get the tag.

    Thank you for your help!

  2. Thanks, it worked!
  3. Choco


    Unsure what version for which you're asking because the Solved tag removes it, but in more modern versions of the API (1.14 & 1.15+), there is the PersistentDataHolder API for which there's a good thread that goes into detail here