config namespace
Namespace: DoriosLib.config · Package: DoriosLib/index.js
This namespace describes the copy of DoriosLib bundled with UtilityCraft. Addons normally read these values for diagnostics; they should announce their own metadata with dependencies.initialize.
ADDON_METADATA
ADDON_METADATA: AddonMetadata
Current UtilityCraft metadata announced through dorios:dependency_checker:
{
name: "UtilityCraft",
author: "Dorios Studios",
identifier: "utilitycraft",
version: "3.5.0",
dependencies: {},
}
Do not mutate this object to represent your addon. Call dependencies.initialize(yourMetadata) instead so both addons remain independently discoverable.
DEPENDENCY_OPTIONS
DEPENDENCY_OPTIONS: InitializeDependencyOptions
UtilityCraft currently validates after 300 ticks and announces a successful result. These options are passed by the root module when it initializes UtilityCraft dependency discovery.
console.warn(
`${DoriosLib.config.ADDON_METADATA.name} ${DoriosLib.config.ADDON_METADATA.version}`,
);
See dependencies for the complete metadata and option contracts.