Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ModJsAdapter

Hierarchy

  • ModJsAdapter

Indexable

[key: string]: any

Other methods and properties

Index

Properties

buildConfig

buildConfig: BuildConfig

config

config: Config

dir

dir: string

isEnabled

isEnabled: boolean

isModRunning

isModRunning: boolean

Methods

RunLauncherScripts

  • RunLauncherScripts(): void

RunMod

  • RunMod(additionalScope: any): void

RunPreloaderScripts

  • RunPreloaderScripts(): void

configureMultiplayer

  • configureMultiplayer(name: string, version: string, isClientOnly: boolean): void
  • Parameters

    • name: string
    • version: string
    • isClientOnly: boolean

    Returns void

createCompiledSources

getBuildType

getConfig

getFormattedAPIName

  • getFormattedAPIName(): string

getGuiIcon

  • getGuiIcon(): string

getInfoProperty

  • getInfoProperty(name: string): Object

getModPack

getModPackLocationName

  • getModPackLocationName(): string

getMultiplayerName

  • getMultiplayerName(): string

getMultiplayerVersion

  • getMultiplayerVersion(): string

getName

  • getName(): string

getVersion

  • getVersion(): string

isClientOnly

  • isClientOnly(): boolean

isConfiguredForMultiplayer

  • isConfiguredForMultiplayer(): boolean

onImport

  • onImport(): void

runCustomSource

  • runCustomSource(name: string, additionalScope: any): void

setBuildType

  • setBuildType(type: BuildType): void
  • setBuildType(type: "release" | "develop"): void

setModPackAndLocation

  • setModPackAndLocation(pack: ModPack, locationName: string): void

Generated using TypeDoc