mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 13:09:59 +00:00
Add link to forge specific eclipse formatter (named FML)
1 parent
327aeb8605
commit
0a4888ea8c
1 file changed
+1
-1
@@ -13,7 +13,7 @@ Prerequisites: Eclipse {or IntelliJ} (3.7 or better is probably good), Git (any
|
||||
|
||||
### Tips
|
||||
- Take your time. Make sure your code does what it's supposed to do and does it well. Your PR probably won't be accepted if it doesn't cover all the uses
|
||||
- Indent your code properly, and follow the conventions (take a look at other classes and read the code before editing). Space instead of tabs, open braces on a new line, etc. [ONLY IF IT IS A NEW CLASS NOT IF IT IS A PATCH TO A MINECRAFT CLASS](https://github.com/MinecraftForge/MinecraftForge/wiki/If-you-want-to-contribute-to-Forge#conventions-for-coding-patches-for-a-minecraft-class-javapatch).
|
||||
- Indent your code properly, and follow the conventions (take a look at other classes and read the code before editing). Space instead of tabs, open braces on a new line, etc. [ONLY IF IT IS A NEW CLASS NOT IF IT IS A PATCH TO A MINECRAFT CLASS](https://github.com/MinecraftForge/MinecraftForge/wiki/If-you-want-to-contribute-to-Forge#conventions-for-coding-patches-for-a-minecraft-class-javapatch). [Here](https://github.com/ForgeEssentials/ForgeEssentials/blob/develop/misc/eclipseformatter.xml)'s the eclipse formatter if you want it.
|
||||
- To update your repo to latest code from the official repository:
|
||||
1. If it's the first time, add a remote for the official repo (`git remote add upstream https://github.com/MinecraftForge/MinecraftForge`)
|
||||
2. Get the updates (`git fetch upstream`), and make sure you're on master (`git checkout master`)
|
||||
|
||||
Reference in new issue
Block a user