AppleCore

AppleCore

56M Downloads

Another Question:

lilgandhi1199 opened this issue ยท 2 comments

commented

I see you can set the current hunger and saturation but is it possible to simply grab the current hunger and saturation?

commented

I would appreciate your help because right now I am trying to track Exhaustion/Food/Death events because I see this as the only way to know the current hunger and saturation

commented

That's possible with just vanilla Minecraft:
player.getFoodStats().getFoodLevel()
player.getFoodStats().getSaturationLevel()