#Extract information out of nbt

4 messages · Page 1 of 1 (latest)

dim jasper
#

I get the nbt from an item. In this case it is [07:58:05] [INFO] mystery_lands_loot.js#18: {CanDestroy:["kubejs:titanite_machine_block"],display:{Lore:['[{"text":"A pickaxe given to you by the dragon","italic":false}]']}} [dev.latvian.mods.rhino.mod.util.OrderedCompoundTag]
Can I somehow just extract only the CanDestroy part?

light vectorBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

viscid flame
#

You can use item.nbt.CanDestroy

dim jasper
#

Ah thanks a lot