yes but chest must be sent to the client so if chunk containing chest isn't sent to the client it doesn't work or near the player