Skip to content

Namespace MinecraftPath

🏭 Functions

getAsset

ts
getAsset(hash: string): string

Parameters

  • hash: string

Return Type

  • string

Defined in: packages/core/folder.ts:95

getAssetsIndex

ts
getAssetsIndex(versionAssets: string): string

Parameters

  • versionAssets: string

Return Type

  • string

Defined in: packages/core/folder.ts:94

getLibraryByPath

ts
getLibraryByPath(libraryPath: string): string

Parameters

  • libraryPath: string

Return Type

  • string

Defined in: packages/core/folder.ts:93

getLog

ts
getLog(fileName: string): string

Parameters

  • fileName: string

Return Type

  • string

Defined in: packages/core/folder.ts:90

getMapIcon

ts
getMapIcon(map: string): string

Parameters

  • map: string

Return Type

  • string

Defined in: packages/core/folder.ts:92

getMapInfo

ts
getMapInfo(map: string): string

Parameters

  • map: string

Return Type

  • string

Defined in: packages/core/folder.ts:91

getMod

ts
getMod(fileName: string): string

Parameters

  • fileName: string

Return Type

  • string

Defined in: packages/core/folder.ts:89

getNativesRoot

ts
getNativesRoot(version: string): string

Parameters

  • version: string

Return Type

  • string

Defined in: packages/core/folder.ts:81

getResourcePack

ts
getResourcePack(fileName: string): string

Parameters

  • fileName: string

Return Type

  • string

Defined in: packages/core/folder.ts:88

getVersionJar

ts
getVersionJar(version: string, type: string): string

Parameters

  • version: string
  • type: string

Return Type

  • string

Defined in: packages/core/folder.ts:83

getVersionJson

ts
getVersionJson(version: string): string

Parameters

  • version: string

Return Type

  • string

Defined in: packages/core/folder.ts:82

getVersionRoot

ts
getVersionRoot(version: string): string

Parameters

  • version: string

Return Type

  • string

Defined in: packages/core/folder.ts:80

🏷️ Variables

assets

ts
assets: "assets" = 'assets'

Defined in: packages/core/folder.ts:69

lastestLog

ts
lastestLog: "logs/latest.log" = 'logs/latest.log'

Defined in: packages/core/folder.ts:75

launcherProfile

ts
launcherProfile: "launcher_profiles.json" = 'launcher_profiles.json'

Defined in: packages/core/folder.ts:74

libraries

ts
libraries: "libraries" = 'libraries'

Defined in: packages/core/folder.ts:70

logs

ts
logs: "logs" = 'logs'

Defined in: packages/core/folder.ts:72

maps

ts
maps: "saves" = MinecraftPath.saves

Defined in: packages/core/folder.ts:76

mods

ts
mods: "mods" = 'mods'

Defined in: packages/core/folder.ts:67

options

ts
options: "options.txt" = 'options.txt'

Defined in: packages/core/folder.ts:73

resourcepacks

ts
resourcepacks: "resourcepacks" = 'resourcepacks'

Defined in: packages/core/folder.ts:68

saves

ts
saves: "saves" = 'saves'

Defined in: packages/core/folder.ts:77

screenshots

ts
screenshots: "screenshots" = 'screenshots'

Defined in: packages/core/folder.ts:78

versions

ts
versions: "versions" = 'versions'

Defined in: packages/core/folder.ts:71

Released under the MIT License.