Companion

object Companion

Properties

Link copied to clipboard
private var loaded: Mappings?

Functions

Link copied to clipboard

The loaded mappings, or null (dev / NeoForge prod / not configured).

Link copied to clipboard
fun load(path: String): Mappings?

Parse the mappings file — tiny v2 (fabric) or TSRG2 (forge), dispatched on the header line; caches as current. Returns null on any failure (patch falls back to raw names).

Link copied to clipboard

Whether a by-name lookup resolves correctly yet — false on a non-mojmap runtime until load runs.