As the title suggests, is there a way to assign an item tag (i.e. forge:cobblestone) to an item with specific NBT data (i.e. if "stone" is present in it's NBT).
Script below is an attempt I made, led to a crash lol lmfao
ServerEvents.tags('item', event => {
event.add('medievalorigins:is_golden_weapon', Item.of("tetra:modular_sword", '{display:"/^Gold*/"}'))
})



