How can I make an entity like a chest on a rail visible?

How can I make an entity like a chest on a rail visible?
Continue to help post