Package net.neoforged.fml.jarmoduleinfo
Class AuomaticModuleJarModuleInfo
java.lang.Object
net.neoforged.fml.jarmoduleinfo.AuomaticModuleJarModuleInfo
- All Implemented Interfaces:
JarModuleInfo
JarModuleInfo implementation for a non-modular jar, turning it into an automatic module.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDescriptor(JarContents contents) static AuomaticModuleJarModuleInfofrom(JarContents contents) name()@Nullable Stringversion()
-
Field Details
-
name
-
version
-
-
Constructor Details
-
AuomaticModuleJarModuleInfo
-
-
Method Details
-
from
-
name
- Specified by:
namein interfaceJarModuleInfo
-
version
- Specified by:
versionin interfaceJarModuleInfo
-
createDescriptor
- Specified by:
createDescriptorin interfaceJarModuleInfo
-