Well, due to recent events I am now unemployed. Bad for the income. Good for looking into new and interesting things while I collect unemployment. I've had some basic experience with JAVA and enjoy messing around with Minecraft. I'm interested in creating my own mods, but where can I get started? Are mods a team effort? or can a single person put something together?
Depending on your desired mod content, you will need a java developer, a texture artist, and a 3d modeler. Depending on your skills, these can be the same person: Mods such as Thaumcraft and Twilight Forest are (afaik) largely single person efforts by extremely multi talented individuals (Apologies to the many MANY other talented mod developers I have not mentioned).
On the development front, you will need/want to:
Preparation:
1. Get yourself a GitHub account and install the GitHub desktop client. There is a LOT of open source mod code on GitHub and the most effective way to learn is to learn from the masters.
2. Install a JDK for Java 8 from Oracle (
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
3. Install the (Community Edition) of the Intellij IDEA Java IDE from JetBrains (
https://www.jetbrains.com/idea/download/)
4. Download the Forge Minecraft Development Kit from MinecraftForge (
http://files.minecraftforge.net/) for the version of Minecraft you wish to mod for. Its probably best to choose the recommended build. (It took me an embarrassingly long time to figure out the link I wanted was labeled "MDK").
Making your mod:
To actually start developing a mod using the Forge MDK and IDEA you will
1. Create a new folder for your mod and extract the MDK into it.
2. Open a command prompt in you mods folder and enter the command
gradlew setupDecompWorkspace
This will download a bunch of files - basically all of minecraft.
3. Now, open IDEA and choose to Import an existing Project. Point it to the Build.gradle file that will be in the root of your new mod (if it extracted correctly). It should open the IDE with some folders down the side and spend a little time resolving dependencies. Wait for it to finish, then exit IDEA.
4. Right now, you have an IDEA project for you new mod, but it cannot run yet. So, back to the command prompt and enter
gradlew genIntellijRuns
5. When this has successfully completed, go back to Intellij IDEA and open your project normally (don't import it again). If you now choose "Run>Run..." from the menu, it will ask you if you want to launch a client or server. Choose client, and it should launch minecraft.
Actually Making your mod
Hopefully you made it this far. Your mod doesn't actually exist yet, but you now have a java project that is running minecraft, that you can add mod code and assets to, and that you can easily add to your GitHub.
At this point - some other resources
* TheGreyGhost has a tutorial (
https://github.com/TheGreyGhost/MinecraftByExample) that can be downloaded: (Download the project using GitHub desktop, then follow the steps above to setupDecompWorkspace, import into IDEA, and genIntellijRuns and the sample code will actually run). There are also links to his blog with a variety of informative articles.
*
http://bedrockminer.jimdo.com/modding-tutorials/basic-modding-1-8/ (thanks
@erindalc)
If you prefer YouTube tutorials these are helpful for 1.8:
* MrCrayfish has a mod tutorial for 1.8
*
pahimar has a mod tutoral for 1.8
* TheXFactor117's modding tutorial has also been updated for 1.8 (
http://www.minecraftforum.net/forum...1-8-thexfactor117s-forge-modding-tutorials-20)
Of special note: MrCrayfish has also developed a Model Creator / Editor: (
https://mrcrayfish.com/tools) that is very useful for editing the model .json files you will need to be creating for any blocks more complex than a simple cube.