Namespace MinecraftPath
🏭 Functions
getAsset
getAsset(hash: string): string
Parameters
- hash:
string
Return Type
string
Defined in: packages/core/folder.ts:95
getAssetsIndex
getAssetsIndex(versionAssets: string): string
Parameters
- versionAssets:
string
Return Type
string
Defined in: packages/core/folder.ts:94
getLibraryByPath
getLibraryByPath(libraryPath: string): string
Parameters
- libraryPath:
string
Return Type
string
Defined in: packages/core/folder.ts:93
getLog
getLog(fileName: string): string
Parameters
- fileName:
string
Return Type
string
Defined in: packages/core/folder.ts:90
getMapIcon
getMapIcon(map: string): string
Parameters
- map:
string
Return Type
string
Defined in: packages/core/folder.ts:92
getMapInfo
getMapInfo(map: string): string
Parameters
- map:
string
Return Type
string
Defined in: packages/core/folder.ts:91
getMod
getMod(fileName: string): string
Parameters
- fileName:
string
Return Type
string
Defined in: packages/core/folder.ts:89
getNativesRoot
getNativesRoot(version: string): string
Parameters
- version:
string
Return Type
string
Defined in: packages/core/folder.ts:81
getResourcePack
getResourcePack(fileName: string): string
Parameters
- fileName:
string
Return Type
string
Defined in: packages/core/folder.ts:88
getVersionJar
getVersionJar(version: string, type: string): string
Parameters
- version:
string
- type:
string
Return Type
string
Defined in: packages/core/folder.ts:83
getVersionJson
getVersionJson(version: string): string
Parameters
- version:
string
Return Type
string
Defined in: packages/core/folder.ts:82
getVersionRoot
getVersionRoot(version: string): string
Parameters
- version:
string
Return Type
string
Defined in: packages/core/folder.ts:80
🏷️ Variables
assets
assets: "assets" = 'assets'
Defined in: packages/core/folder.ts:69
lastestLog
lastestLog: "logs/latest.log" = 'logs/latest.log'
Defined in: packages/core/folder.ts:75
launcherProfile
launcherProfile: "launcher_profiles.json" = 'launcher_profiles.json'
Defined in: packages/core/folder.ts:74
libraries
libraries: "libraries" = 'libraries'
Defined in: packages/core/folder.ts:70
logs
logs: "logs" = 'logs'
Defined in: packages/core/folder.ts:72
maps
maps: "saves" = MinecraftPath.saves
Defined in: packages/core/folder.ts:76
mods
mods: "mods" = 'mods'
Defined in: packages/core/folder.ts:67
options
options: "options.txt" = 'options.txt'
Defined in: packages/core/folder.ts:73
resourcepacks
resourcepacks: "resourcepacks" = 'resourcepacks'
Defined in: packages/core/folder.ts:68
saves
saves: "saves" = 'saves'
Defined in: packages/core/folder.ts:77
screenshots
screenshots: "screenshots" = 'screenshots'
Defined in: packages/core/folder.ts:78
versions
versions: "versions" = 'versions'
Defined in: packages/core/folder.ts:71