zlataovce / takenaka

A Kotlin library for reconciling multiple obfuscation mapping files from multiple versions of Minecraft: JE.
Apache License 2.0
51 stars 3 forks source link

feat: support for Quilt Mappings #33

Closed macbrayne closed 9 months ago

macbrayne commented 9 months ago

Adds support for Quilt Mappings and Quilt Hashed

macbrayne commented 9 months ago

I'll remove Hashed from there then. Two things I had missed: namespaceFriendlinessIndex & historyNamespaces. I'll add Hashed after Intermediary for the first one, I'm not quite sure what the second one does though. Is Hashed relevant there?

zlataovce commented 9 months ago

the friendliness index is used when selecting a "friendly" name - the namespaces are iterated in order and the first available name is used, that's the one you see in the documentation links, overview, package overview, ...

the history (ancestry) namespaces are used for following a trail of an element (class or a member) through multiple namespaces, i.e. when one namespace stops mapping an element, but another one still does, the elements can still be connected to maintain the ancestry line

to answer your question, no, the additional Hashed namespace is not necessary for history, as I said before