You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Handling of identical method signatures with different staticness while migrating #11
Currently, there is no marker for the static-ness of a method in the output files. This causes a slight issue when performing a migration across Minecraft versions of the mapping data, if a method retains the same method signature across both versions (usually, the intermediate mapping format in use assigns the same identifier) but changes in static-ness.
This causes the mapped parameter indexes to be off by one from the actual indexes (due to the implicit first parameter index being occupied in non-static methods), possibly causing validation errors and loss of that mapped parameter.
This is not supposed to be part of the export at all.
The exported data that compass generates should be mapping data and no metadata, which is completely by design.
If you need to know the static-ness of a method, then use the Blackstone data which contains this information pre-analyzed for you, and using mapping container merging, you can keep track of this accurately.
Activity
marchermans commentedon Jan 23, 2022
This is not supposed to be part of the export at all.
The exported data that compass generates should be mapping data and no metadata, which is completely by design.
If you need to know the static-ness of a method, then use the Blackstone data which contains this information pre-analyzed for you, and using mapping container merging, you can keep track of this accurately.