Package Exports
- @xmcl/gamesetting
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@xmcl/gamesetting) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Gamesetting Module
This is a sub-module belong to minecraft-launcher-core module. You can still use this individually.
Usage Read/Write GameSetting (options.txt)
Serialize/Deserialize the minecraft game setting string.
import { GameSetting } from '@xmcl/gamesetting'
const settingString;
const setting: GameSetting = GameSetting.parse(settingString);
const string: string = GameSetting.stringify(setting);