I am trying to find a Minecraft modpack I played before 2019 where you had a time limit to finish it (not a speedrun timer like in FTB Pyramid) and you initially had to create energy/items with a generator that made you hungry when used. If I remember correctly, there was a way to make the time limit longer by 2 days.

Any ideas what modpack could it be?