Interested in creating mods

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

mek86

New Member
Jul 29, 2019
6
0
0
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?
 

erindalc

Popular Member
Mar 3, 2015
992
512
109
Steam
http://bedrockminer.jimdo.com/modding-tutorials/basic-modding-1-8/ is a tutorial I've used for figuring out how to set things up. Google is your friend for issues or if you need a different perspective on a topic.

The Minecraft Forge forums are a great resource, as are the normal Minecraft Forums. Just remember to be clear, concise, and polite if you have the need to post about a problem, otherwise people will ignore you.

Mods can be a team effort or a one man job. Most larger mods are done by multiple people even if there is one primary coder. More often than not you might want a texture artist for your final product.

TL;DR Link Minecraft Forge forums are also a great resource, and a small mod can be easily handled by a single person. Good luck!
 

jdog1408

New Member
Jul 29, 2019
958
-11
0
I can help with textures for items, not blocks though those don't turn out quite right for me ;P.
 

frederikam

New Member
Jul 29, 2019
836
0
1
I would personally discourage people with "basic experience with JAVA" from trying out mod development. It's very difficult, frustrating and very undocumented. This here was my best source of information:
https://github.com/

Try looking for open-source mods on GitHub. Buildcraft, Forestry, and OpenMods are good places to start.

#minecraftforge can also be a good source of help, just don't ask about Java. There's plenty other exciting projects you could work if you know where to look and want to become more experienced. For instance, I like to develop bots on Discord.
 
  • Like
Reactions: RedBoss

GreenZombie

New Member
Jul 29, 2019
2,402
-1
0
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.
 
Last edited:
  • Like
Reactions: Inaeo

mek86

New Member
Jul 29, 2019
6
0
0
This is a good amount of information to start with. I wanted to thank everyone who responded with helpful information.
 
  • Like
Reactions: jdog1408