We give an interpretation of the energy function and classically restricted one-dimensional sums associated to tensor products of level-zero fundamental representations of quantum affine algebras in terms of Lakshmibai–Seshadri paths of level-zero shape.