Cool.
So I might be attempting to do something that isn't possible, but that's why I am asking. It might be able to be accomplished through command blocks.
I am making a map for server that doesn't let players access trapped chests unless you break them, thus pouring the contents out onto the ground. I would like to use a /testfor command to tell when the spot the chest was in is filled with an air block instead (thus implying a player broke the chest).
After it is confirmed that the chest has been broken, I'd like to use a /give command to give @p[r=1] of the spot the chest used to be a sword with their name on it. Such as "Whick's Mind". Basically the logic is @p[r=1] + "'s Mind".
After these commands have executed, I will place an airblock where the command block was that gave players the sword. This prevents players from placing a block where the chest was, then breaking the block again to get another sword (the smart ones, or even the lucky ones who do it by accident at least).
Basically I'd like a custom named item that gets name right on the spot based on the player who breaks the chest. If it's impossible, just say the word!
-Whick