Interface ModJsAdapter

interface ModJsAdapter {
    buildConfig: BuildConfig;
    config: Config;
    dir: string;
    isEnabled: boolean;
    isModRunning: boolean;
    configureMultiplayer(name: string, version: string, isClientOnly: boolean): void;
    createCompiledSources(): CompiledSources;
    getBuildType(): number;
    getConfig(): Config;
    getFormattedAPIName(): string;
    getGuiIcon(): string;
    getInfoProperty(name: string): string;
    getModPack(): ModPack;
    getModPackLocationName(): string;
    getMultiplayerName(): string;
    getMultiplayerVersion(): string;
    getName(): string;
    getVersion(): string;
    isClientOnly(): boolean;
    isConfiguredForMultiplayer(): boolean;
    onImport(): void;
    runCustomSource(name: string, additionalScope: any): void;
    RunLauncherScripts(): void;
    RunMod(additionalScope: any): void;
    RunPreloaderScripts(): void;
    setBuildType(type: number): void;
    setBuildType(type: "release" | "develop"): void;
    setModPackAndLocation(pack: ModPack, locationName: string): void;
}

Methods

  • Parameters

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

    Returns void

  • Parameters

    • name: string
    • additionalScope: any

    Returns void

  • Parameters

    Returns void

    2.2.1b85

Properties

buildConfig: BuildConfig
config: Config
dir: string
isEnabled: boolean
isModRunning: boolean

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.