From f9744d98ca3f2b821b92a2d76c801cd7563025bf Mon Sep 17 00:00:00 2001 From: Andrew Molchanov Date: Tue, 23 Jun 2020 19:07:29 +0300 Subject: [PATCH] =?UTF-8?q?[ANY]=20=D0=9F=D0=BE=D0=B4=D0=B4=D0=B5=D1=80?= =?UTF-8?q?=D0=B6=D0=BA=D0=B0=201.16=20=D0=BD=D0=B0=205.0.12=20(#398)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../launchserver/defaults/profile1.16.cfg | 38 +++++++++++++++++++ .../launcher/profiles/ClientProfile.java | 3 +- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 LaunchServer/src/main/resources/pro/gravit/launchserver/defaults/profile1.16.cfg diff --git a/LaunchServer/src/main/resources/pro/gravit/launchserver/defaults/profile1.16.cfg b/LaunchServer/src/main/resources/pro/gravit/launchserver/defaults/profile1.16.cfg new file mode 100644 index 00000000..6654368e --- /dev/null +++ b/LaunchServer/src/main/resources/pro/gravit/launchserver/defaults/profile1.16.cfg @@ -0,0 +1,38 @@ +{ + "version": "1.16", + "assetIndex": "1.16", + "assetDir": "asset1.16", + "dir": "HiTech", + "info": "Информация о сервере", + "sortIndex": 0, + "title": "xxxxxxxx", + "serverAddress": "localhost", + "serverPort": 25565, + "update": [ + "servers.dat" + ], + "updateExclusions": [], + "updateShared": [], + "updateVerify": [ + "libraries", + "natives", + "minecraft.jar" + ], + "updateOptional": [], + "updateFastCheck": true, + "useWhitelist": false, + "mainClass": "net.minecraft.client.main.Main", + "jvmArgs": [ + "-XX:+UseConcMarkSweepGC", + "-XX:+CMSIncrementalMode", + "-XX:-UseAdaptiveSizePolicy", + "-Xmn128M", + "-XX:+DisableAttachMechanism" + ], + "classPath": [ + "minecraft.jar", + "libraries" + ], + "clientArgs": [], + "whitelist": [] +} diff --git a/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java b/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java index 041ed53e..6689a2f9 100644 --- a/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java +++ b/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java @@ -49,7 +49,8 @@ public enum Version { MC1144("1.14.4", 498), MC115("1.15", 573), MC1151("1.15.1", 575), - MC1152("1.15.2", 578); + MC1152("1.15.2", 578), + MC116("1.16", 735); private static final Map VERSIONS; static {