execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:16b}]} run replaceitem block ~ ~ ~ container.16 minecraft:barrier{nl_Reroll.Tool:1b,nl_ValidOp:1b,nl_UI:1b,CustomModelData:1412002,display:{Name:'{"text":"Click to Re-Roll ⚄","color":"green","italic":false}',Lore:['{"text":" "}','{"text":"Re-Roll Quality of Tools, ","color":"gray","italic":false}','{"text":"Weapons and Armor.","color":"gray","italic":false}','{"text":" "}','{"text":"Cost: ","color":"red","italic":false}','{"text":" - 5 Levels","color":"red","italic":"false"}','{"text":" - 1 Crafting Material","color":"red","italic":false}','{"text":" "}','{"text":"Reward:","color":"dark_green","italic":false}','{"text":" + Chance to improve Quality","color":"dark_green","italic":false}']}}
