Paragraph Delimited Mappings Extended #135
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds the PDME format of mappings.
It is used by many tools such as AssistRemapper (and is the preferred mappings format in some of its dependencies such as MinecraftMappingsObtainer,fcigen,fpmbuildjava, FeatureCreep, fcdependencies) ,MinecraftDecompiler, featurecreep-intermediary mappings (which in turn has conversions to many legacy mappings from archaic formats), it also has an old fork of Enigma which was originally forked from Quilts fork, but I am hoping by being in MappingIO the format will eventually be in the upstream Enigma, as Well as Jupiter which I need for fcigens patching functionality for making MCP style source patches in multiple mappings.
The mapping format is supposed to be very flexible and editable in a spreadsheet editor and is supposed to be layerable, meaning you can just paste new lines to the end of a file to add to it. It also does not need to be a complete file, such as it is possible to define only methods or only params and it has been possible to get Parchment working with the format. The mapping-io implementation does not support the Include or AccessFlag types, Include is supposed to include the interfaces and classes a class has so it can be remapped without all the dependencies. AccessFlag was the access flags and can be used similar to AccessWideners for cases where mappings needing the change the access modifiers/flags.