Replacing an item in a tagged barrel
For exmaple, im making a barrel tagged "special" and then trying to place
container.0with a diamond. Ive tried giving myself the barrel with/give @p minecraft:barrel{special:1b}but then when I try to useexecute @s[tag=special run . . .nothing ever runs. Am I doing something wrong?