From 4502f978fba014265dd0a4be9980d1b4cb07a693 Mon Sep 17 00:00:00 2001 From: Andrew Molchanov Date: Tue, 23 Jun 2020 19:07:43 +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(#397)?= 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 df6c97ad..81330fa7 100644 --- a/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java +++ b/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java @@ -383,7 +383,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 {