jabelar Posted October 9, 2017 Posted October 9, 2017 (edited) I'm working on my first (simple) contribution to Forge. So I think I'm ready to submit a pull request, but want to clarify a couple things. I have my fork, which I've been working on (on the 1.12 branch), have a working test mod, etc. The change I'm making is only on Forge code, not Minecraft. So in that case do I need to generate patches? I assume my change will just get merged without needing patches -- generating patches is for cases when a change to the vanilla code is being proposed, right? My next contribution will want to do some changes to vanilla behavior. So in that case, I do the change in the Clean part of the code and then generate patches? Also, the instructions say to run the gradlew genPatches on the "Forge root". Does that mean the top of my workspace (which contains both the Clean and Forge, or actually run inside the Forge folder? Lastly, once the patch is generated I sync that back to my github repository? Sorry for the noob questions... Edited October 9, 2017 by jabelar Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
Draco18s Posted October 9, 2017 Posted October 9, 2017 On 10/9/2017 at 3:16 PM, jabelar said: Does that mean the top of my workspace (which contains both the Clean and Forge, or actually run inside the Forge folder? Expand Top of the workspace. GenPatches does a comparison between Clean and Forge. 1 Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
jabelar Posted October 9, 2017 Author Posted October 9, 2017 On 10/9/2017 at 3:24 PM, Draco18s said: Top of the workspace. GenPatches does a comparison between Clean and Forge. Expand Okay, so I shouldn't modify clean at all then (makes sense). Under Forge there is the src/main/Java which contains Minecraft code and I should do the edits there then the genPatchs compares that with clean. Thanks for the clarification. What about my other question, if my changes are only in the Forge stuff (under main-java), I don't need to generate a patch right? It will get directly merged? Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
jabelar Posted October 9, 2017 Author Posted October 9, 2017 Thanks guys. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.