Translate Minecraft formatting codes into ANSI codes for console log display