Package com.atlauncher.data

Examples of com.atlauncher.data.Instance


                                        instance.setPlayable();
                                    }
                                } else if (isServer) {

                                } else {
                                    Instance newInstance = new Instance(instanceNameField.getText(), pack.getName(),
                                            pack, installForMe.isSelected(), version.getVersion(),
                                            version.getMinecraftVersion().getVersion(), this.getMemory(),
                                            this.getPermGen(), this.getModsInstalled(), this.getJarOrder(),
                                            this.getLibrariesNeeded(), this.getExtraArguments(),
                                            this.getMinecraftArguments(), this.getMainClass(),
                                            version.getMinecraftVersion().getMojangVersion().getAssets(),
                                            version.isDev(), !version.getMinecraftVersion().isLegacy());

                                    if (version.isDev() && (version.getHash() != null)) {
                                        newInstance.setHash(version.getHash());
                                    }

                                    App.settings.getInstances().add(newInstance);

                                }
View Full Code Here


        }

        boolean open = true;

        if (autoLaunch != null && settings.isInstanceBySafeName(autoLaunch)) {
            Instance instance = settings.getInstanceBySafeName(autoLaunch);
            LogManager.info("Opening Instance " + instance.getName());
            if (instance.launch()) {
                open = false;
            } else {
                LogManager.error("Error Opening Instance  " + instance.getName());
            }
        }

        TRAY_MENU.localize();
        integrate();
View Full Code Here

TOP

Related Classes of com.atlauncher.data.Instance

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.