Class ModJarMetadata
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ModJarMetadata
- All Implemented Interfaces:
cpw.mods.jarhandling.JarMetadata
-
Field Summary
Modifier and TypeFieldDescriptionprivate ModuleDescriptor
private net.minecraftforge.forgespi.locating.IModFile
Fields inherited from interface cpw.mods.jarhandling.JarMetadata
DASH_VERSION, ILLEGAL_KEYWORDS, KEYWORD_PARTS, LEADING_DOTS, MODULE_VERSION, NON_ALPHANUM, NUMBERLIKE_PARTS, REPEATING_DOTS, TRAILING_DOTS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static Optional<net.minecraftforge.forgespi.locating.IModFile>
buildFile
(Function<cpw.mods.jarhandling.SecureJar, net.minecraftforge.forgespi.locating.IModFile> mfConstructor, Predicate<cpw.mods.jarhandling.SecureJar> jarTest, BiPredicate<String, String> filter, Path... files) Deprecated, for removal: This API element is subject to removal in a future version.(package private) static net.minecraftforge.forgespi.locating.IModFile
Deprecated, for removal: This API element is subject to removal in a future version.(package private) static Optional<net.minecraftforge.forgespi.locating.IModFile>
buildFile
(net.minecraftforge.forgespi.locating.IModLocator locator, Predicate<cpw.mods.jarhandling.SecureJar> jarTest, BiPredicate<String, String> filter, Path... files) Deprecated, for removal: This API element is subject to removal in a future version.boolean
int
hashCode()
net.minecraftforge.forgespi.locating.IModFile
modFile()
name()
void
setModFile
(net.minecraftforge.forgespi.locating.IModFile file) toString()
version()
-
Field Details
-
modFile
private net.minecraftforge.forgespi.locating.IModFile modFile -
descriptor
-
-
Constructor Details
-
ModJarMetadata
ModJarMetadata()
-
-
Method Details
-
buildFile
@Deprecated(forRemoval=true, since="1.18") static Optional<net.minecraftforge.forgespi.locating.IModFile> buildFile(net.minecraftforge.forgespi.locating.IModLocator locator, Predicate<cpw.mods.jarhandling.SecureJar> jarTest, BiPredicate<String, String> filter, Path... files) Deprecated, for removal: This API element is subject to removal in a future version. -
buildFile
@Deprecated(forRemoval=true, since="1.18") static net.minecraftforge.forgespi.locating.IModFile buildFile(net.minecraftforge.forgespi.locating.IModLocator locator, Path... files) Deprecated, for removal: This API element is subject to removal in a future version. -
buildFile
@Deprecated(forRemoval=true, since="1.18") static Optional<net.minecraftforge.forgespi.locating.IModFile> buildFile(Function<cpw.mods.jarhandling.SecureJar, net.minecraftforge.forgespi.locating.IModFile> mfConstructor, Predicate<cpw.mods.jarhandling.SecureJar> jarTest, BiPredicate<String, String> filter, Path... files) Deprecated, for removal: This API element is subject to removal in a future version. -
setModFile
public void setModFile(net.minecraftforge.forgespi.locating.IModFile file) -
name
- Specified by:
name
in interfacecpw.mods.jarhandling.JarMetadata
-
version
- Specified by:
version
in interfacecpw.mods.jarhandling.JarMetadata
-
descriptor
- Specified by:
descriptor
in interfacecpw.mods.jarhandling.JarMetadata
-
modFile
public net.minecraftforge.forgespi.locating.IModFile modFile() -
equals
-
hashCode
public int hashCode() -
toString
-