@Override public void readNBT(NBTTagCompound compound){
  super.readNBT(compound);
  if (compound.hasKey("foodExhaustionTimer")) {
    this.exhaustionTimer=compound.getInteger("foodExhaustionTimer");
  }
  if (!compound.hasKey("bwmAdjustedFoodStats")) {
    setFoodLevel(getFoodLevel() * 3);
    setSaturation(0);
  }
  if (getFoodLevel() > 60)   setFoodLevel(60);
  if (getSaturationLevel() > 20)   setSaturation(20);
}

@ Override public void readNBT ( NBTTagCompound compound ) { super . readNBT ( compound ) ; if ( compound . hasKey ( "foodExhaustionTimer" ) ) { this . exhaustionTimer = compound . getInteger ( "foodExhaustionTimer" ) ; } if ( ! compound . hasKey ( "bwmAdjustedFoodStats" ) ) { setFoodLevel ( getFoodLevel ( ) * 3 ) ; setSaturation ( 0 ) ; } if ( getFoodLevel ( ) > 60 ) setFoodLevel ( 60 ) ; if ( getSaturationLevel ( ) > 20 ) setSaturation ( 20 ) ; }
reads the food data for the player .
