Copy the URL it gives you, the URL should be in the following format:.Create a repository 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 set up a git repository so you can share your code and people can help you. After running this you’ll get a client and server run task, the first time you run it’ll ask you to fix an error, you fix this by selecting the main module in the “Use classpath of module:” selection list. Or by opening the gradle menu and under “Tasks/other” double clicking genIntellijRuns. In IntelliJ you need to run genIntellijRuns, you can do this by either running the command:.(This may take a couple of minutes, for me it took about 5 minutes) IntelliJ should automatically make gradle initialize everything needed.Make sure you have “Use auto-import” and “Create directories for empty content roots automatically” are both checked.Browse to your root folder and select the adle.Click on Import Project, or File –> new –> project from existing sources.Now import the project in your IDE of choice, I’ll be using (and explaining it for) IntelliJ IDEA.I will be referring to this folder as the rootfolder. gitignore file (Not technically needed but very useful!) You don’t need all of these files to get started. Extract the downloaded file to an empty folder.Go to the Forge download site and download the MDK (Mod Development Kit). At the time of writing, this is version 25.0.10. First, you should download the latest version of Forge (This tutorial will be for Minecraft 1.13).Most steps are the same on different operating systems, but some steps may differ (like opening a command prompt). I will not be teaching Java so you should do a Java tutorial first if you don’t have any experience. I will be using IntelliJ IDEA, but it is also possible to use Eclipse. Forge for Minecraft 1.13 has been released, so here is the first part of the tutorial! Warning: the way I structured my code and the way I wrote the code may not be the ideal way!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |