chat = IChatComponent.Serializer.func_150699_a("[{\"text\":\"" + text + "\",\"color\":\"aqua\"}," + "{\"text\":\" " + WHITE + "[" + GREEN
+ "Download" + WHITE + "]\"," + "\"color\":\"green\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":"
+ "{\"text\":\"Click this to download the latest version\",\"color\":\"yellow\"}},"
+ "\"clickEvent\":{\"action\":\"open_url\",\"value\":\"" + _downloadUrl + "\"}}]");
}
player.addChatMessage(chat);
player.addChatMessage(new ChatComponentText(newVersion.description()).setChatStyle(description));
}
}
}