Trying to make a loottable with raw NBT data.
I made a bunch of custom items via command blocks. For example:
give @p iron_chestplate[custom_name=[{"text":"ɪʀᴏɴ ᴄʜᴇѕᴛᴘʟᴀᴛᴇ","italic":false,"bold":true,"color":"white"},{"text":" ","italic":false,"bold":true,"color":"yellow"},{"text":"●","italic":false,"color":"gray"}],lore=[[{"text":"ᴄᴏᴍᴍᴏɴ ᴄʜᴇѕᴛᴘʟᴀᴛᴇ","bold":true,"color":"gray"}],[{"text":"ᴘʀᴏᴛᴇᴄᴛɪᴏɴ ɪɪ","bold":true,"color":"light_purple"}]],enchantment_glint_override=false,enchantments={protection:2},tooltip_display={hidden_components:[enchantments]}]
I want to convert this over to a loottable so I can roll this items randomly, but so far I have been having difficulty. I would really prefer to use the raw NBT data above over manually re-doing everything, as I have about 20 items like this that I would also need to translate over.
In the end, if I need to reformat it I will, but I wanted to see if the knowledgeable people in this server could help alleviate my issue. Thanks for reading!
Continue to help post