Item-NBT-API
Item-NBT-API copied to clipboard
Get NBT as Map of String to Object
I was looking through the new wiki for 1.21
, and I could not find any way of converting the NBT to a map.
Before the update, I could get around this by using the getObject() method, but now this doesn't exist. And looking through the options, they all seem to require the plugin to know what type the value is.