Printing minecraft console to file