Class MCreatorApplication

java.lang.Object
net.mcreator.ui.MCreatorApplication

public final class MCreatorApplication extends Object
  • Field Details

    • WEB_API

      public static final IWebAPI WEB_API
    • SERVER_DOMAIN

      public static final String SERVER_DOMAIN
      See Also:
    • isInternet

      public static boolean isInternet
  • Method Details

    • getAnalytics

      public GoogleAnalytics getAnalytics()
    • getDeviceInfo

      public DeviceInfo getDeviceInfo()
    • createApplication

      public static void createApplication(List<String> arguments)
    • getWorkspaceSelector

      public WorkspaceSelector getWorkspaceSelector()
    • openWorkspaceInMCreator

      public MCreator openWorkspaceInMCreator(File workspaceFile)
      Parameters:
      workspaceFile - File of the .mcreator workspace definition
      Returns:
      MCreator if new instance, null if existing is open or open failed
    • openWorkspaceInMCreator

      public MCreator openWorkspaceInMCreator(File workspaceFile, boolean forceRegenerate)
      Parameters:
      workspaceFile - File of the .mcreator workspace definition
      forceRegenerate - If true, the workspace will be regenerated
      Returns:
      MCreator if new instance, null if existing is open or open failed
    • closeApplication

      public void closeApplication()
    • getOpenMCreators

      public List<MCreator> getOpenMCreators()
    • getDiscordClient

      public DiscordClient getDiscordClient()
    • getTaskbarIntegration

      public TaskbarIntegration getTaskbarIntegration()