Package net.minecraftforge.fml.loading
Class JarVersionLookupHandler
java.lang.Object
net.minecraftforge.fml.loading.JarVersionLookupHandler
Finds Version data from a package, with possible default values
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static final record
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetImplementationTitle
(Class<?> clazz) Deprecated, for removal: This API element is subject to removal in a future version.getImplementationVersion
(Class<?> clazz) Deprecated, for removal: This API element is subject to removal in a future version.getImplementationVersion
(String pkgName) Deprecated, for removal: This API element is subject to removal in a future version.static JarVersionLookupHandler.Info
static JarVersionLookupHandler.Info
static JarVersionLookupHandler.Info
getSpecificationVersion
(Class<?> clazz) Deprecated, for removal: This API element is subject to removal in a future version.getSpecificationVersion
(String pkgName) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
JarVersionLookupHandler
public JarVersionLookupHandler()
-
-
Method Details
-
getInfo
-
getInfo
-
getInfo
-
getImplementationVersion
@Deprecated(forRemoval=true, since="1.20.2") public static Optional<String> getImplementationVersion(String pkgName) Deprecated, for removal: This API element is subject to removal in a future version. -
getSpecificationVersion
@Deprecated(forRemoval=true, since="1.20.2") public static Optional<String> getSpecificationVersion(String pkgName) Deprecated, for removal: This API element is subject to removal in a future version. -
getImplementationVersion
@Deprecated(forRemoval=true, since="1.20.2") public static Optional<String> getImplementationVersion(Class<?> clazz) Deprecated, for removal: This API element is subject to removal in a future version. -
getImplementationTitle
@Deprecated(forRemoval=true, since="1.20.2") public static Optional<String> getImplementationTitle(Class<?> clazz) Deprecated, for removal: This API element is subject to removal in a future version. -
getSpecificationVersion
@Deprecated(forRemoval=true, since="1.20.2") public static Optional<String> getSpecificationVersion(Class<?> clazz) Deprecated, for removal: This API element is subject to removal in a future version.
-