Config
Index
Constructors
constructor
Methods
access
Same as Config.get.
Type parameters
Parameters
name: string
Returns T
checkAndRestore
Ensures that config has all the properties the data pattern contains, if not, puts default values to match the pattern.
Parameters
jsonstr: string
string representation of JSON object representing the data pattern
Returns void
get
Gets property from the config.
Learn how to useconfig.get("generation.ore_copper.max_height");
Json configuration file reading/writing utility.