Interface LoaderPlatform


public interface LoaderPlatform
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addToClasspath(@NotNull Path path)
     
    default String
    return a string representing the loader and the minecraft version of the current instance
  • Method Details

    • addToClasspath

      void addToClasspath(@NotNull @NotNull Path path)
    • getLoaderString

      default String getLoaderString()
      return a string representing the loader and the minecraft version of the current instance

      the format follows the preprocessor standard

      for example with loader Forge and minecraft version 1.16.5 this returns "1.16.5-forge"