Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.5 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.5 KB

nests

mappings for inner class attributes

Nester mappings

In Minecraft versions 1.8.2-pre4 and below, any attributes that specified a relationship between inner classes and outer classes were stripped by Mojang using ProGuard, adding an extra inconvenience to the process of parsing and mapping the classes. In an effort to remedy this, Matcher was forked and Nester was created in order to find and restore as many inner and outer class attributes as reasonably possible. In order to "re-nest" these classes in production, Nester mappings (with the .nest extension) have to be provided so Nester can fix these classes automatically, of which can be found in the nests directory.

Contributing

Use mapping-utils to port nests from one version to the next. Take note of the output log, the nests updater will print out any nests it was not able to port. You will need matches to port nests.

Open our matcher fork and create a new Nester project. Open the Minecraft jar and apply the nests that were generated by mapping-utils' nests updater. You can sort by nesting score to aid in finding good nested class candidates. The left side lists all candidates, while the right side lists potential enclosing classes (and methods) for the selected candidate.