I know this is late. The infinite health and Infinite stamina works but the infinite energy doesn't seem to work. My game is on 1.17 too. I don't have anything that modify my energy either. Anyone else experiencing this issue? I apply the code but the energy is normal, like unmodified, and not full or anything. It also goes away gradually after a while.