Archie¶
object Archie
Archie's mod object and library entrypoint.
Types¶
Config¶
object Config : ConfigContainer
Archie's own config, registered under the "Config" title. General holds Archie's real settings; Test is a self-test fixture exercising every DataSpec value type supported by the config system and is not meant to be user-facing.
Properties¶
LOGGER¶
Shared SLF4J logger for Archie's own internal logging.
MOD¶
The Architectury Mod descriptor for Archie itself.
MOD_ID¶
Archie's own mod id, used as the namespace for its resources and network channel.
Functions¶
init¶
Initializes Archie's shared (loader-independent) systems.
Wires up networking (skipped only for a server-only gametest run, since Architectury's networking registration touches client-only classes), initializes block entity state syncing, built-in data providers, and Archie's own config. Datagen/GameTest code paths are activated separately, by archie-datagen/archie-gametest's own mod entrypoints.
Throws
IllegalStateException-
if running on LexForge, which is not supported.
initClient¶
@JvmStatic
fun initClient()
Reserved for client-only initialization that must run after init, from a client entrypoint. Currently a no-op: Archie's own config screen(s) already register synchronously inside init via Config.init() (see ConfigContainer.initClient), so there's nothing left to do here.
initCommon¶
@JvmStatic
fun initCommon()
Reserved for common-side initialization that must run after both init and platform bootstrap. Currently a no-op.
rem¶
Builds a ResourceLocation namespaced under Archie.MOD_ID, with other as the path, e.g. Archie % "main".