![]() Also, this tutorial is based on Windows 8 and 10, but Windows Vista and 7 should be almost identical in structure. ![]() I will be showing you how to set up Eclipse to make 1.8 mods. It is easy to use and can support several different programming languages with a plugin or two. Next time we will start setting up the MainMod file.Eclipse is a free, donatable Integrated Development Environment (IDE). I hope that was easy to follow! If you have any question don’t hesitate to ask in the comments! Also if you saw any errors in the tutorial please let me know so I can fix it! git commit -m “Message explaining changes”.Now when you made changes you only need to run:.git push origin master This will upload your code to the repository you made earlier!.git commit -m “My first commit!” This will tell git to remember the state of all your files at this point in time.This will add all of the files in the current repository to your git repo. git remote add origin URL FROM STEP 3 This will tell git where to upload the code.git init This will initialize the git repository.On other operating systems you may need to use the “cd” command to change your directory to the root folder If you are on windows you can hold shift and right click in the root folder. Open a powershell/command prompt/terminal.Copy the url it gives you, the url should be in the following format:.Create a repositry by clicking the plus button at the top right.To create a repository and upload your code follow the following steps: I’ll explain how to put the repository on github, there are other websites where you can put it but I am familiar with github. If you know how to do this you can just skip to the next part. You probably also want to setup a git repository so you can share your code and people can help you. Eclipse will see it as an project and not give any errors. Browse to your root folder and select it. Make sure you have “select root directory” selected and click browse. This will open a prompt select General→Existing Projects into Workspace and click next. Now open eclipse and select a folder you want your workspace to be in.Again it will probably skip less for you but you should get “BUILD SUCCESSFUL”. If you are not using eclipse this step will be different for you, but if you are using eclipse follow this step. You have to execute one more command, type “.\gradlew eclipse” and press enter.It will probably not skip as much as in the image but you should get “BUILD SUCCESSFUL”. Type: “.\gradlew setupDecompWorkspace” without the quotes and press enter. Click on it and a command window or powershell window. A menu should come up and there should be an option “open command window here” or “open powershell window here”. While in the root folder make sure you have no files selected and while holding the shift button right click in the folder. ![]() I will be referring to this folder as the rootfolder. gitignore file (Will be helpful in the future, this is not showed in the picture because I forgot this when making the tutorial.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |