public interface ModContainer
| Modifier and Type | Method and Description |
|---|---|
ModMetadata |
getMetadata()
Returns the metadata of this mod.
|
default Path |
getPath(String file)
Gets an NIO reference to a file inside the JAR.
|
default Path |
getRoot()
Deprecated.
use
getRootPath() instead |
Path |
getRootPath()
Returns the root directory of the mod.
|
ModMetadata getMetadata()
@Deprecated default Path getRoot()
getRootPath() insteadPath getRootPath()
It may be the root directory of the mod JAR or the folder of the mod.