Update to 1.12

This adds support for Minecraft 1.12's protocol, and also abstracts out outgoing packet IDs.  I include packet IDs for some 1.12 snapshots, even though snapshot versions aren't supported, because I already had written the code (though in a far more messy variant) for my MC-106551 test script; while they won't be used right now, they may be useful if snapshots are ever formally supported in the future.
This commit is contained in:
Pokechu22 2017-06-10 09:05:06 -07:00
parent 214f8a23da
commit 550beda7c4
3 changed files with 168 additions and 20 deletions

View file

@ -20,9 +20,9 @@ namespace MinecraftClient
private static McTcpClient Client;
public static string[] startupargs;
public const string Version = "1.11.0 DEV";
public const string Version = "1.12.0 DEV";
public const string MCLowestVersion = "1.4.6";
public const string MCHighestVersion = "1.11.2";
public const string MCHighestVersion = "1.12.0";
private static Thread offlinePrompt = null;
private static bool useMcVersionOnce = false;