I'm trying to use commands to make something similar to the "pop-up tower" chest on Hypixel bed wars.
I am trying to
execute at any chest with a specific pattern of certain items, or at least one with a specific name, and also at unspecific coordinates.
As of now, I can testfor a chest with specific items, but only relative to the player. And also, any item can be in the other unspecified slots, so when I test, how do I check for no item in a slot?
And what command would I use to execute at this chest?
I'm on 1.12 by the way. So 1.13+ commands won't work.
Edit, the answer didnt help and they wont let me delete the question.