Class JarVersionLookupHandler

java.lang.Object
net.minecraftforge.fml.loading.JarVersionLookupHandler

public class JarVersionLookupHandler extends Object
Finds Version data from a package, with possible default values
  • Constructor Details

    • JarVersionLookupHandler

      public JarVersionLookupHandler()
  • Method Details

    • getImplementationVersion

      public static Optional<String> getImplementationVersion(String pkgName)
    • getSpecificationVersion

      public static Optional<String> getSpecificationVersion(String pkgName)
    • getImplementationVersion

      public static Optional<String> getImplementationVersion(Class<?> clazz)
    • getImplementationTitle

      public static Optional<String> getImplementationTitle(Class<?> clazz)
    • getSpecificationVersion

      public static Optional<String> getSpecificationVersion(Class<?> clazz)