basically i have a load.mcfuntionc that adds scoreboards for an enderchest opening thing but after doing some testing i think it doesnt work because i have the wrong like name for the statistic
scoreboard objectives add craft minecraft.custom:minecraft.interact_with_crafting_table
scoreboard objectives add furnace minecraft.custom:minecraft.interact_with_furnace
scoreboard objectives add echest minecraft.custom
open_enderchest
this is what i have for it