How to set the "owner" of a chest?
I have a custom chest in my datapack and I want to set the owner by placing it. I later need this to check if the owner opens the chest or someone else, because I want to make two different Interfaces for owner an other players.
I tried to get the coordinates were the chest where placed but that is to difficult. Does someone have a Idea how I can set the owner (and compare this later)?