Line 62: |
Line 62: |
| ** java -jar <version> <args> <jvmArgs> | | ** java -jar <version> <args> <jvmArgs> |
| | | |
− | A config.json can be found [https://github.com/MinecraftForge/MCPConfig/blob/master/versions/release/1.17.1/config.json here] which defines the following steps: | + | {{Tip|A config.json can be found [https://github.com/MinecraftForge/MCPConfig/blob/master/versions/release/1.17.1/config.json here] which defines the following steps: |
| * [[Toolchain:ForgeFlower|fernflower]] | | * [[Toolchain:ForgeFlower|fernflower]] |
| ** version: net.minecraftforge:forgeflower:1.5.498.12 | | ** version: net.minecraftforge:forgeflower:1.5.498.12 |
Line 74: |
Line 74: |
| ** args: --jar-in {input} --jar-out {output} --mapping-format tsrg2 --mappings {mappings} --fernflower-meta --cfg {libraries} --create-inits --fix-param-annotations | | ** args: --jar-in {input} --jar-out {output} --mapping-format tsrg2 --mappings {mappings} --fernflower-meta --cfg {libraries} --create-inits --fix-param-annotations |
| | | |
− | More information about each of these tools can be found at the link provided, as well as what each of these arguments do. A brief description is provided. | + | More information about each of these tools can be found at the link provided, as well as what each of these arguments do. A brief description is provided.}} |
| | | |
| === ForgeFlower === | | === ForgeFlower === |
Line 142: |
Line 142: |
| == The Forge Side == | | == The Forge Side == |
| | | |
− | After the MCPConfig/SetupMCP tasks are finished, ForgeGradle will print '''MCP Environment Setup is complete''' and wait for the user input.
| + | When the Forge is first synced, it prepares the files for setting up the workspace. |
| | | |
− | When running the <code>gradlew setup</code> task, it will rerun the SetupMCP tasks and then start applying the Forge system to the processed vanilla code.
| + | The initial setup is done through the <code>gradlew setup</code> task. It will run the SetupMCP tasks and then start applying the Forge system to the processed vanilla code. After the MCPConfig/SetupMCP tasks are finished, ForgeGradle will print '''MCP Environment Setup is complete''' and wait for the user input. |
| | | |
| First, it applies ATs. After that, patches. Finally, the official mappings, or some other mappings from a provider like Parchment, are applied. | | First, it applies ATs. After that, patches. Finally, the official mappings, or some other mappings from a provider like Parchment, are applied. |