Class NeoForgeVersion

java.lang.Object
fr.flowarg.flowupdater.versions.AbstractModLoaderVersion
fr.flowarg.flowupdater.versions.neoforge.NeoForgeVersion
All Implemented Interfaces:
ICurseForgeCompatible, IModrinthCompatible, IOptiFineCompatible, IModLoaderVersion

public class NeoForgeVersion extends AbstractModLoaderVersion
  • Method Details

    • isModLoaderAlreadyInstalled

      public boolean isModLoaderAlreadyInstalled(@NotNull @NotNull Path installDir)
      Description copied from interface: IModLoaderVersion
      Check if the current mod loader is already installed.
      Parameters:
      installDir - the dir to check.
      Returns:
      if the current mod loader is already installed.
    • install

      public void install(@NotNull @NotNull Path installDir) throws Exception
      Description copied from interface: IModLoaderVersion
      Install the current mod loader in a specified directory.
      Parameters:
      installDir - folder where the mod loader is going to be installed.
      Throws:
      Exception - if an I/O error occurred.
    • name

      public String name()
      Description copied from interface: IModLoaderVersion
      Get the mod loader name.
      Returns:
      the mod loader name.