1.16.5 Setting and getting item nbts

Discussion in 'Spigot Plugin Development' started by CoderBoyo, Jun 16, 2021.

  1. How would you get/set item nbts.
     
  2. What NBT Tags do you need to access? If it‘s custom ones, stop using NBT and use the PersistentDataContainer
     
    • Funny Funny x 1
  3. It's customs and I need to use nbts as I need key and value not just what the PersistentDataContainer has to offer
     
  4. It offers exactly that
     
    • Funny Funny x 1