I've been going through the game on the 1.17.40 version unlocking the achievements currently available on the Windows 10 version.
I ran into an issue though where I would fulfill the criteria for unlocking the "Iron Belly" achievement (i.e. waiting until my food/stamina bar was empty and I started losing hearts) and I would then eat the rotten flesh filling up my food/stamina bar but the achievement wouldn't pop.
I double checked my settings to make sure I could receive achievements, was on survival mode, and wasn't on peaceful which didn't fix the problem and I even used a second account to see if it was an issue with my first account, though that didn't work either.
I'm not entirely sure what is happening as I was able to unlock every other achievement just not the "Iron Belly" one, no matter what I tried.