how to make a chest private
Additionally, right-clicking on the lock of an Ender Chest with a diamond makes it private. Private Ender Chests will only link up to other private chests of the same color and locked by the same player. As they are made of obsidian, Ender Chests are mined using a pickaxe.