Interface ModPackPreferences

interface ModPackPreferences {
    getBoolean(key: string, fallback: boolean): boolean;
    getDouble(key: string, fallback: number): number;
    getFile(): File;
    getInt(key: string, fallback: number): number;
    getLong(key: string, fallback: number): number;
    getModPack(): ModPack;
    getString(key: string, fallback: string): string;
    reload(): ModPackPreferences;
    save(): ModPackPreferences;
    setBoolean(key: string, value: boolean): ModPackPreferences;
    setDouble(key: string, value: number): ModPackPreferences;
    setInt(key: string, value: number): ModPackPreferences;
    setLong(key: string, value: number): ModPackPreferences;
    setString(key: string, value: string): ModPackPreferences;
}

Methods

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