Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard
const val DEPS_LIST: String

API-dep probe list harvested from MC_SYMBOLS's signatures, written beside it.

Link copied to clipboard
const val LOADER_STAMP: String

The IPlatformHelper.platformId was built under. Read by RemapCache, not by isComplete: it answers "built by THIS loader", not "is this dir a bundle".

Link copied to clipboard
const val MC_SYMBOLS: String

Reverse-remapped mojmap MC symbols — what snippets are compiled against.

Functions

Link copied to clipboard

The bundle, or null for a mojmap runtime / unsupported namespace / failed provisioning. Written by RemapCache.provision before it releases the warmup gate, so to every reader null means "decided, and there is none" rather than "not yet".

Link copied to clipboard
internal fun fromCache(mappings: Path, symbols: Path): RemapBundle

Auto-cache output; RemapCache.checkArtifacts has already verified it.

Link copied to clipboard
internal fun fromFlags(): RemapBundle?

The mcp.remap.* pair, or null when the flags don't describe a usable bundle. Half a pair, or a symbol dir with no MC_SYMBOLS in it, is rejected rather than half-honored, so the caller falls through to the auto-cache.

Link copied to clipboard

The minimum that is a bundle at all.

Link copied to clipboard

hasSymbols plus DEPS_LIST: the bar for a REUSABLE auto-cache, so one written before deps.txt existed rebuilds rather than silently dropping the API-dep jars. Stricter on purpose — the auto path can rebuild what it lacks, a hand-supplied bundle cannot, so fromFlags holds to hasSymbols.