i have now also tried the same thing in a vanilla environment and it still . does . not . function
i just tried this command to detect the item: /execute if entity @a[nbt={id: "minecraft:stone", Count: 1b, tag: {display: {Lore: ['[
{"text":"monkey"}
]'], Name: '[
{"text":"monkey"}]'}}}] run say hi . as that was wat the "/data get entity @s SelectedItem" gave me. and still does not function.
this also only seems to affect new worlds that i have created as older worlds with the same commands alrd in place previously works