While trying to change the location of a chest via command block by editing the x, y, and z data tags through the /blockdata command, it says that the block was indeed updated, but does not show any change in the tags or to the chest. It is highly likely the command was not intended to be used like this, but while using /blockdata ~ ~-1 ~ {} I noticed it was indeed an option and expected it to work. Even if it was not intended to be used like this, when I saw this I didn't expect it to work, but wished it would as the functionality would be a great asset to my adventure map.
Attachments
Comments 6
To add to what Dinnerbone said, I believe that the x/y/z tags represent the entity location, not the block location. Therefor moving it does nothing because the entity is telling itself to go where the block is. I may be completely wrong but thats my understanding.
In that case, could this be used to copy the contents of one chest and override anothers? And a block moving command would be pretty helpful.
For the record editing those tags with a map editor never worked either (it changes where the highlight box is instead, as though it moved it and the box moved with it). I suspect they're secondary copies of info stored elsewhere and changing them won't help without changing the first copy.