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 c146afcb..3e317d0c 100644 --- a/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java +++ b/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java @@ -64,9 +64,11 @@ public final class ClientProfile implements Comparable { @LauncherNetworkAPI private int minJavaVersion = 8; @LauncherNetworkAPI - private int maxJavaVersion = 17; + private int maxJavaVersion = 999; @LauncherNetworkAPI private boolean warnMissJavaVersion = true; + @LauncherNetworkAPI + private ProfileDefaultSettings settings = new ProfileDefaultSettings(); // Client @LauncherNetworkAPI private int sortIndex; @@ -205,6 +207,14 @@ public void setWarnMissJavaVersion(boolean warnMissJavaVersion) { this.warnMissJavaVersion = warnMissJavaVersion; } + public ProfileDefaultSettings getSettings() { + return settings; + } + + public void setSettings(ProfileDefaultSettings settings) { + this.settings = settings; + } + public void updateOptionalGraph() { for (OptionalFile file : updateOptional) { if (file.dependenciesFile != null) { @@ -545,5 +555,10 @@ public InetSocketAddress toSocketAddress() { } } + public static class ProfileDefaultSettings { + public int ram; + public boolean autoEnter; + public boolean fullScreen; + } }