Namespace LibraryInfo
🏭 Functions
resolve
ts
resolve(lib: string | Library | ResolvedLibrary): LibraryInfoGet the base info of the library from its name
Parameters
- lib:
string | Library | ResolvedLibraryThe name of library or the library itself
Return Type
LibraryInfo
Defined in: packages/core/version.ts:191
resolveFromPath
ts
resolveFromPath(path: string): LibraryInfoResolve the library info from the maven path.
Parameters
- path:
stringThe library path. It should look likenet/minecraftforge/forge/1.0/forge-1.0.jar
Return Type
LibraryInfo
Defined in: packages/core/version.ts:148