-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ForgeFlower Legacy; FG-2.2 Base #139
base: legacy-2.2
Are you sure you want to change the base?
Conversation
I think for ease of management it makes sense to keep this in the same repo, but having a different artifact ID is imo the easiest way to distinguish the versions for consumers. |
Thanks to Sciwhiz12
Thanks again to sciwhiz12.
* test: Add Comparison Test against FG2 Output Setup Required: #### testData/retrogradle/fg2/decompiled.zip - clone 1.11.x (FG2) from <a href="https://github.com/RetroGradle/MinecraftForge">RetroGradle/MinecraftForge</a> - `gradlew setup` (May need to be from the terminal due to gradle version) - copy `build/localCache/decompiled.zip` #### testData/retrogradle/fg3/output.jar - checkout retrogradle1.11 branch - `gradlew setup` (May require a second `gradlew setup` as the first downloads the custom MCPConfig zip) - copy `projects/mcp/build/mcp/decompile/output.jar` Diffs are output to `testData/retrogradle/output` Signed-off-by: AterAnimAvis <[email protected]>
The original patched will skip the IBytecodeProvider due to the always present byte array (even if it is 0 length), It looks like the original intention is for `link.data` to be null in this case. Signed-off-by: AterAnimAvis <[email protected]>
Fixes the following decomp difference in BiomeMesa: <https://gist.github.com/AterAnimAvis/36edd447fde25c3ea9259bc20033d4cb> Signed-off-by: AterAnimAvis <[email protected]>
Signed-off-by: AterAnimAvis <[email protected]>
I have adjusted this so that it publishes under The first build will thus be With that, this is no longer a draft. |
Good that RetroGradle is moving along👍. |
This PR is the result of copying all the commits made on top of https://github.com/MinecraftForge/FernFlowerLegacy, converting those to patches, and applying them in the style of ForgeFlower.
All upstream patches are removed, and thus this should be considered a completely different product than the master branch; thus the branch this is PRed to uses a legacy- prefix.
This is Part 5 of the RetroGradle initiative.
Limitations
Being that this is forked from FernFlowerLegacy, it is limited to Java 9 features.
Therefore, this version of ForgeFlower cannot decompile any J10+ features, such as records, try-with-resources, enhanced switch, or any other syntax sugar related code.
However, it does not need to; the Minecraft 1.11 (and below) code it is designed for does not use any of these.
TODO