07-11-2013, 12:17 AM
I tried some code handling the hunger, but now I got some really weird results. The player runs out of food in just a few steps. Somehow, burning the food bar is way too fast. This will still need some more work.
On a more positive note, the code can now pretty surely detect when the player jumps (believe it or not, there's no native support for it in the protocol!) so it decreases the food level correctly for jumping. This was something I had been afraid that would be difficult.
On a more positive note, the code can now pretty surely detect when the player jumps (believe it or not, there's no native support for it in the protocol!) so it decreases the food level correctly for jumping. This was something I had been afraid that would be difficult.