What happened to layered mappings?

What happened to layered mappings with QM? More importantly, what did layered mappings do, and will QM ever work on layered mappings again?

QMoL and specifically quiltMappings.mappings("...") was removed since it was an extra maintenance burden. Work was done to publish versions of Quilt Mappings that act like yarn (ie have intermediary, not hashed, names). This allows the intermediary-v2 classifier for Quilt Mappings to be used in all places the v2 classifier of yarn is used.

For an example of layered mappings now:

mappings loom.layered {
    addLayer "org.quiltmc:quilt-mappings:${quilt_mappings_version}:intermediary-v2"
}
1 Like

I believe this works.

mappings loom.layered {
	mappings "org.quiltmc:quilt-mappings:${quilt_mappings_version}:intermediary-v2"
}

The example you used has MappingsSpec<?> as the parameter, and Quilt loom doesn’t seem to like providing Strings to addLayer. I’m not sure if this works exactly the same as addLayer did though.